ManDay 0 Posted June 7, 2007 Hey. Because I never used that I don't know it: What parms are passed to the script at a waypoint? I found out its an array wiht the unit and the pos but there are some elements of which i dont know what they mean. (Waypoint-Window in editor => Script) Share this post Link to post Share on other sites
fasad 1 Posted June 7, 2007 Your question is not very clear, but I assume you are referring to the arguments passed to script executed by a waypoint of type "scripted"? From the wiki: Quote[/b] ]Scripted - This waypoint type will execute the script file that is in the “Script†box on the bottom of the waypoints screen. Enter the file name directly, without any exec type command or quotation marks, then up to 4 arguments in an array. The group will not move to the waypoint location. The group will wait until the external script exits before moving on to the next waypoint. An argument array is passed to the script in the form [<group leader>,<waypoint position array>,<object waypoint is attached to>,<user array element 0>,<user array element 1>,<user array element 3>,<user array element 4>]. Note the On Activation script code block can be used to execute any script at any waypoint, making this waypoint type somewhat redundant. Share this post Link to post Share on other sites
ManDay 0 Posted June 7, 2007 Well yes i know. thanks for the quote. didnt find the thing in the wiki. but i think "script" is pretty neat cos so you dont have to type "exeVM","exec" or whatever. you just type the name of the script and it is all fine. in my eyes just the "onActivation" part is obsolete cos you normally work it with scripts noadays rather than with a dozen commands in a single line where you can hardly read a word. ---edit--- not to forget "scripted" is the only waypoint which doesnt make the unit move Share this post Link to post Share on other sites