SLEEP
Usage:
SLEEP
Description:
This command causes the trigger to be disabled.
The script will not run again until another script enables
it (with the ENABLE_SCRIPT or ENABLE_TAGGED commands).
You can also enable scripts with certain line-types
on the map, and with the RTS_ENABLE_TAGGED action
in a custom DDF thing or weapon.
See Also:
ENABLE_SCRIPT
Example:
START_MAP map01 RADIUS_TRIGGER 0 0 -1 NAME Jeff SLEEP TIP "First script: one" 1 SLEEP TIP "First script: two" 1 SLEEP TIP "First script: three" 1 END_RADIUS_TRIGGER // this second script will wake up the first one RADIUS_TRIGGER 0 0 -1 TIP_SLOT 10 // red text TIP "Second script begun..." 2 WAIT 3 ENABLE_SCRIPT Jeff WAIT 3 ENABLE_SCRIPT Jeff WAIT 3 ENABLE_SCRIPT Jeff END_MAP