Index

GetGameUpdateCount

GetGameUpdateCount

Description

Pushes the game's update count to the stack. The update count is basically the current mission time. It is incremented once for each frame that the game executes. It does not increment when the game is paused. It only ever goes up through a mission. Ideally, it increases at 30 fps.

Also refer to GetGameTickCount and GetUnitUpdateCount for additional timer-based commands.

Examples

trace(GetGameUpdateCount)

See also: Timers

Index