Jump to content
Sign in to follow this  
secco

List of words?

Recommended Posts

Does anyone know if I can get a list of the words that we use in scripts? Pay attention: I'm not talking about the scripting commands. I have them. I'm talking about the words like "leader" for the leader of a group... "count" so we can count units... "distance" to check the distance between objects... "Eject" when we use the Player action command...etc.

Anybody, plz? I need this list so I can improve my scripting and not wasting so much time trying to guess them! confused.gif

Thanks for all of you that might help!

Greetings,

Secco

Share this post


Link to post
Share on other sites

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (GAMEER_77 @ Oct. 12 2002,11:34)</td></tr><tr><td id="QUOTE">All those things are in the comref, secco.  smile.gif<span id='postcolor'>

Actually the official comref is missing most of the actions and animations that are listed in the unofficial one.

edit: now I'm not sure if you meant the unofficial one in the first place tounge.gif

Share this post


Link to post
Share on other sites

Thanks for the list spitfire and for the reply Gameer_77.

Now if I'm not asking too much... biggrin.gif Do one of you know how I can use the "list trigger" command? I just didn't get it.

list trigger

Operand types:

trigger: Object

Type of returned value:

Array

Description:

List of units that would activate given trigger. For trigger of type "Not present" the list is same as returned for "present".

Example:

list triggerOne

Share this post


Link to post
Share on other sites

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (secco @ Oct. 12 2002,12:37)</td></tr><tr><td id="QUOTE">Thanks for the list spitfire and for the reply Gameer_77.

Now if I'm not asking too much...  biggrin.gif Do one of you know how I can use the "list trigger" command?  I just didn't get it.  

list trigger

Operand types:

   trigger: Object

Type of returned value:

   Array

Description:

   List of units that would activate given trigger. For trigger of type "Not present" the list is same as returned for "present".

Example:

   list triggerOne<span id='postcolor'>

Those are the units that are within the trigger and that comply with its condition (i.e. if trigger is West/present, then only the West units in the trigger would be listed in the resulting array).

Share this post


Link to post
Share on other sites

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (Spitfire @ Oct. 12 2002,10:49)</td></tr><tr><td id="QUOTE"></span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (GAMEER_77 @ Oct. 12 2002,11:34)</td></tr><tr><td id="QUOTE">All those things are in the comref, secco.  smile.gif<span id='postcolor'>

Actually the official comref is missing most of the actions and animations that are listed in the unofficial one.

edit: now I'm not sure if you meant the unofficial one in the first place  tounge.gif<span id='postcolor'>

Im not sure he actually asked for the actions and animations.  smile.gif

I meant the official one though, the old ones out of date  tounge.gif

Edit: He said something about "eject" though...

wow.gif PEACE

Share this post


Link to post
Share on other sites

secco, for the list Trigger

create a trigger, give it a name in the editor, example theTrigger

make it activated by anyone present repeatadly

then in a script, list theTrigger will be an array of all units that meet the trigger condition (all units in trigger range in one array that you can access)

EDIT: the conditions is up to you, also nobody present is the same as anyone present fro list command

Share this post


Link to post
Share on other sites

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote </td></tr><tr><td id="QUOTE">Quote (secco @ Oct. 12 2002,12:37)

Thanks for the list spitfire and for the reply Gameer_77.

Now if I'm not asking too much... Do one of you know how I can use the "list trigger" command? I just didn't get it.

list trigger

Operand types:

trigger: Object

Type of returned value:

Array

Description:

List of units that would activate given trigger. For trigger of type "Not present" the list is same as returned for "present".

Example:

list triggerOne

Those are the units that are within the trigger and that comply with its condition (i.e. if trigger is West/present, then only the West units in the trigger would be listed in the resulting array). <span id='postcolor'>

now this is the problam i have with all the refrances are like this. to short an explain. thats what i think is realy missing. these things are hard for us beginingers. we need more exzamples hell i found out more about this one bit of code in this 2nd explain then any thing in the entire offical refrence lol

too dry reading. and rather confuseing i usely take a pandol every time i finish reading it lol

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×