Goto

Revision as of 16:36, 30 March 2011 by imported>Cipscis (Added note about available label IDs, and link to Label)
< [[::Category:Functions|Category:Functions]]

A function added by the Fallout Script Extender.

Description

Jump to a labeled position in the script previously defined by a call to Label. Execution will return to the label, simulating a loop. Be careful to provide an exit condition to avoid creating infinite loops.

Syntax

Goto labelID:int

Notes

  • There are 256 available slots for Labels, enabling IDs from 0 to 255 inclusively. Values outside of this range will not work.

See Also