====== Script ====== Used to interact with the current script. This object is only available when executing a script, not when executing code using ActExec! ===== Functions ===== ==== callProcedure ==== Calls a procedure from the script. The procedure will be executed when the current action is finished. This function is not blocking : the code following a call to this function will be executed in any case This function should be called only once per action, only the latest call will be taken into consideration otherwise [//Added in Actionaz 3.8.0.//] === Syntax === Script.callProcedure(name); === Arguments === - name - (string) the name of the procedure to call === Returns === * (null) nothing ===== Variables ===== ==== nextLine ==== Contains the next script line to be executed. This property should be modified only once per action, only the latest modification will be taken into consideration otherwise === Example === Script.nextLine = 1; //Set the next line to be the first line Console.print("The next line is " + Script.nextLine); //Show the next line === Notes === This variable can be used as "goto". ==== line ==== Contains the current script line. Read-only. [//Added in Actionaz 3.7.0.//] === Example === Console.print("The current line is " + Script.line); //Show the current line