User Tools

Site Tools


prpl:delay

<- PRPL reference <- Program Flow Control

Delay

ArgumentsResultNotation
number [number-]

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. 
delay(30) 
trace(GetUpdateCount) 
prpl/delay.txt · Last modified: 2018/06/14 15:35 by kajacx