User Tools

Site Tools


crpl:docs:gettimer0

This is an old revision of the document!


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

GetTimer0

ArgumentsResultNotation
Count for timer 0. FIXME

Description

Gets the current value of timer 0. 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)
GetTimer0 eq0 if
CurrentCoords 20 SetCreeper
30 SetTimer0
endif
crpl/docs/gettimer0.1369860882.txt.gz · Last modified: 2014/10/01 15:02 (external edit)