WAIT WAITUNTIL WAIT-UNTIL PAUSE TRIGEDIT-TIMING TIMING
From 4Dimensions
WAIT WAITUNTIL WAIT-UNTIL PAUSE TRIGEDIT-TIMING TIMING
Usage: wait
wait until <mudtime>
- This script gives the actor 10 seconds to get out.
say GET OUT! NOW! wait 10 s
mkill %actor%
The wait statement is used to 'pause' the script execution for a period of
time. When a script is being executed it will attempt to execute all commands
right away. To get small breaks in, and perhaps give the players time to adjust,
use the wait command.
- If you want to syncronise your script, you can use the 'wait until' feature.
- This script wakes the mob at dawn, and puts him to sleep at night.
wait until 8:00 wake
- wait # without seconds following it will wait 10 ticks, which is very quick.
wait 10 yawn
wait 10
stand
- This one uses wait 10 seconds. Recommend you always use seconds
wait 10 sec emote looks sleepy.
wait until 21:00
yawn
wait 10 s
rest
wait 10 s
sleep