GoTo
Revision as of 18:16, 11 October 2009 by imported>Cipscis (→External Links: Moved link to cipscis.com to new section; added link to FOSE documentation)
< [[::Category:Functions|Category:Functions]]
A function added by the Fallout Script Extender.
Description
Continues processing the current script from a previously indicated label ID.
Syntax
GoTo ID:int{0 to 255}
Example
GoTo 1
Notes
The Label/GoTo Loop
This function can be used to create a loop when combined with Label. The following script loops the script instructions iterations times:
ScriptName LoopScript int count int iterations Begin GameMode Label 1 ;Script instructions to loop set count to count + 1 if count < iterations GoTo 1 endif End