User Tools

Site Tools


prpl:gettimer0

<- PRPL reference <- Timers

GetTimer0

ArgumentsResultNotation
int [ - int ]

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

if (GetTimer0 eq0) 
    trace(GetUpdateCount) 
    SetTimer0(30) 
endif 
prpl/gettimer0.txt · Last modified: 2018/06/14 17:03 by kajacx