WAIT(<time>)
- Category
- Control Flow
- Added in
- v0.5
Pauses the script for the time (in seconds) specified, suffix ms
for a wait in milliseconds or t
to wait in ticks.
It is not possible to wait less than the duration of a tick (~50ms
), because the mod checks each tick if it should continue.
Example
// Each wait one second
WAIT(20t)
WAIT(1)
WAIT(1000ms)