total_ticks

The time passed since start of the game, in ticks.

Range:

0 .. 999999

Type:

var, read-only

Remarks:

This variable is increased every frame cycle by time_frame, thus it's accurate by one frame. For measuring time with higher precision use the timer function.

Example:

ent_animate(my,"frame",total_ticks % 100,ANM_CYCLE); 		

See also:

time_step, time_factor, fps_max, fps_min, fps_lock, timer, wait, total_secs