This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
4rpl:commands:getgameupdatecount [2019/04/04 22:37] – external edit 127.0.0.1 | 4rpl:commands:getgameupdatecount [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
~~NOTOC~~ | ~~NOTOC~~ | ||
+ | < | ||
- | ====== | + | ====== |
GetGameUpdateCount | GetGameUpdateCount | ||
Line 8: | Line 9: | ||
It does not increment when the game is paused. It only ever goes up through a mission. | It does not increment when the game is paused. It only ever goes up through a mission. | ||
Ideally, it increases at 30 fps. | Ideally, it increases at 30 fps. | ||
+ | |||
+ | Also refer to [[GetGameTickCount]] and [[GetUnitUpdateCount]] for additional timer-based commands. | ||
===== Examples ===== | ===== Examples ===== | ||
Line 13: | Line 16: | ||
trace(GetGameUpdateCount) | trace(GetGameUpdateCount) | ||
</ | </ | ||
+ | |||
+ | See also: [[4rpl: | ||
+ | |||
+ | < | ||