Non-threaded

Forums » Advanced Editor Forum » Read Thread

Get help from the experts on variables, scripts, items, and other scary things.

Intermediate Scripting Article

18 years ago
The intermediate scripting article will be released very soon! I hope you guys will read it and expand your knowledge on the adv editor and hopefully, if i have done my job correctly, the ease of making a game using variables, etc. will become much easier!

Intermediate Scripting Article

18 years ago
cool thx solo!!!

Intermediate Scripting Article

18 years ago
im hoping i can get it done tonight and have it published (i.e. proof read and all) by the morning.

Intermediate Scripting Article

18 years ago
Its currently being edited, should be out in a few days.

Intermediate Scripting Article

18 years ago

Intermediate Scripting Article

18 years ago
I will do an article that is based on spagetti code (sp) and organized code.

Solo, how do I spell that word that means "fake code" ~ pheusocode

Intermediate Scripting Article

18 years ago

pseudocode? that what you mean? ok, so you said solo but im just trying to help lol sorry.

nate

Intermediate Scripting Article

18 years ago
Well, if you know it too, you can help.

Intermediate Scripting Article

18 years ago
psuedo code?

Intermediate Scripting Article

18 years ago
It's one word and in definition psuedo means fake.  It sounds like sudoko but with the last syllable as code instead of ko.

Intermediate Scripting Article

18 years ago
no no, i know what it is, alex already told me remember ;) anyways what i was asking is if that is what you wanted..

Intermediate Scripting Article

18 years ago
there is nt much to write on this though, because the scripting is very limited in funtions, the only REAL function is the conditional statements, so basically, keep all your condition statements organized as in dont have multiple IF THEN statements when an IF ELSE IF statement will do and dont forget to comment your code, if that has been implemented...

Intermediate Scripting Article

18 years ago
Well, if there are a few more things that come in, I.E. modules or subsections (same thing).

Start
Action A
Action B
ModuleA()
Action C
End

It'b be nice to do something like that...

Intermediate Scripting Article

18 years ago

well i have talked to alex and what i am trying to get him to implement is Array's  but he keeps rejecting the idea, so i doubt more things will be added to the scripting feature... maybe more functions like $DEST but not anything major.

Intermediate Scripting Article

18 years ago
I would like modules I could access from any script.  Can you even think of the possibilities you could do with that?

Intermediate Scripting Article

18 years ago

what do you mean modules? liek a function, eg.

$FUNCTIONRESET =

$DEST = @C1

END $FUNCTIONRESET

and then throughou tthe game, you can call upon this function as so

$FUNCTIONRESET

 

is that what you mean?

Intermediate Scripting Article

18 years ago
A module would be a subset of code that you could create from the Global Scripts page that you can access anytime by putting in some kind of code.  Possible this:

OPEN moduleName()

After the module hit's it's last exit, it goes to the next task as it would in my small list above 3-4 posts.

It'd also make it easier to take out some programming code from you story/game and share it with others for something like a level up system:

levelUp()
Start
If %EXP > 0
%level := %level + 1
%attack := %attack + 1
...
#more things can be added there like defense and stuff.

Else
End

Your global link script could show:

start
task a
levelUp()
task b
end

Intermediate Scripting Article

18 years ago
so basically a "yes" to my question...

Intermediate Scripting Article

18 years ago
I couldn't really understand what yours meant...