<- PRPL reference <- Timers

SetTimer1

ArgumentsResultNotation
int [ int - ]

Description

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

Examples

if (GetTimer1 eq0) 
	trace(GetUpdateCount) 
	SetTimer1(30) 
endif