User Tools

Site Tools


crpl:docs:delay

This is an old revision of the document!


<- CRPL reference <- Flow Control

Delay

ArgumentsResultNotation
Time n1 –

Description

The number of game loops to wait before allowing execution to pass to the next command. Timers used via SetTimer(0-3) continue to run and expire even while the script is delayed.

Examples

#Stop runtime of the script for 30 game ticks, equivalent of 1 second.
30 Delay
#Add 5 units of creeper at the current location.
CurrentCoords 5 AddCreeper
crpl/docs/delay.1612543437.txt.gz · Last modified: 2025/02/14 14:56 (external edit)