secco 0 Posted October 12, 2002 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! Thanks for all of you that might help! Greetings, Secco Share this post Link to post Share on other sites
Spitfire 0 Posted October 12, 2002 The unofficial command reference in OFP Editing Center has most of them listed: http://www.ofpec.com/publicfiles/files/tutorials/CMDREFv104.htm Share this post Link to post Share on other sites
GAMEER_77 0 Posted October 12, 2002 All those things are in the comref, secco. Share this post Link to post Share on other sites
Spitfire 0 Posted October 12, 2002 </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. Â <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 Share this post Link to post Share on other sites
secco 0 Posted October 12, 2002 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 Share this post Link to post Share on other sites
joltan 0 Posted October 12, 2002 </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... Â 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
GAMEER_77 0 Posted October 13, 2002 </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.  <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  <span id='postcolor'> Im not sure he actually asked for the actions and animations.  I meant the official one though, the old ones out of date  Edit: He said something about "eject" though... PEACE Share this post Link to post Share on other sites
bn880 5 Posted October 13, 2002 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
MANDRAKE_ 0 Posted November 13, 2002 </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