User Tools

Site Tools


crpl:docs:delay

<- 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.txt · Last modified: 2021/02/05 11:43 by Karsten75