User Tools

Site Tools


crpl:docs:settimer0

<- CRPL reference <- Timers

SetTimer0

ArgumentsResultNotation
The value to set timer 0 to. n1 –

Description

Sets the current value of timer 0. Timers are set to some value, and the decrease by 1 each game frame (even if the core is in a Delay).

Examples

# Sets the creeper height to 20 on the crpl core position every 30 frames (1 second)
GetTimer0 eq0 if
CurrentCoords 20 SetCreeper
30 SetTimer0
endif
crpl/docs/settimer0.txt · Last modified: 2021/02/05 11:43 by Karsten75