<- PRPL reference <- Timers

SetTimer2

ArgumentsResultNotation
int [ int - ]

Description

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

Examples

if (GetTimer2 eq0) 
	trace(GetUpdateCount) 
	SetTimer2(30) 
endif