Difference between revisions of "Flow Control"

From 3DGE Wiki
Jump to: navigation, search
(Created page with " ---- These commands control the flow of RTS scripts. They let you jump around the script, make the script temporarily go to sleep, and cause other scripts to be enabled or di...")
 
(List of commands)
 
Line 15: Line 15:
 
'''[[LABEL]]
 
'''[[LABEL]]
 
'''
 
'''
 +
 
Define a part of script to jump to.
 
Define a part of script to jump to.
  

Latest revision as of 15:35, 24 July 2016


These commands control the flow of RTS scripts. They let you jump around the script, make the script temporarily go to sleep, and cause other scripts to be enabled or disabled.


List of commands



JUMP

For jumping from one part of your script to another.

LABEL

Define a part of script to jump to.

DISABLE_SCRIPT

Use this in a script to disable another script.

ENABLE_SCRIPT

Use this in a script to enable another script.

SLEEP

Temporarily disable a script until it's called again.

WAIT

Pauses the script for a fixed time period.

RETRIGGER

Causes the conditions that activated a trigger to be re-checked.