User Tools

Site Tools


crpl:docs:gettimer3

~~DISCUSSION~~ <- CRPL reference <- Timers

GetTimer3

ArgumentsResultNotation
Count for timer 3 -- n1

Description

Gets the current value of timer 3. Timers are set to some value, and then 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)
GetTimer3 eq0 if
CurrentCoords 20 SetCreeper
30 SetTimer3
endif
crpl/docs/gettimer3.txt · Last modified: 2020/09/02 11:00 by nathanaelps