goto

From Bohemia Interactive Community
Revision as of 05:28, 16 April 2006 by Fragorl (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

back to COMREF

goto label


Operand types:

label: String

Type of returned value:

Nothing

Description:

In script only: Go to given label.
Note: String argument is used here.
Be sure to use double quotes around label name in goto.


Examples:

goto "Loop"


Comments:

Define the label with #. Note that loops should always have a time delay. Triggers poll every 0.5 seconds so you rarely need a loop faster than that.