User Tools

Site Tools


4rpl:commands:getgameupdatecount

This is an old revision of the document!


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)
4rpl/commands/getgameupdatecount.1554439492.txt.gz · Last modified: 2025/02/14 14:56 (external edit)