User Tools

Site Tools


en:code:core:script

This is an old revision of the document!


Table of Contents

Script

Used to interact with the current script. This object is only available when executing a script, not when executing code using ActExec!

Variables

nextLine

Contains the next script line to be executed.

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
en/code/core/script.1372501450.txt.gz · Last modified: 2021/02/13 11:23 (external edit)