User Tools

Site Tools


4rpl:commands:getgameupdatecount

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

4rpl/commands/getgameupdatecount.txt · Last modified: 2021/03/26 20:25 by Karsten75