Flow Control

From 3DGE Wiki
Jump to: navigation, search

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.