User Tools

Site Tools


4rpl:commands:getgametickcount

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
4rpl:commands:getgametickcount [2019/04/04 22:37] – external edit 127.0.0.14rpl:commands:getgametickcount [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ~~NOTOC~~ ~~NOTOC~~
 +<=[[4rpl:start| Index]]
  
-====== GETGAMETICKCOUNT ======+====== GetGameTickCount ======
 GetGameTickCount GetGameTickCount
  
Line 7: Line 8:
 Pushes the game's tick count to the stack. The tick count is similar to the game update count, except it always increments even when the game is paused. Pushes the game's tick count to the stack. The tick count is similar to the game update count, except it always increments even when the game is paused.
 It only ever goes up through a mission. Ideally, it increases at 30 fps. It only ever goes up through a mission. Ideally, it increases at 30 fps.
 +
 + Also refer to [[GetGameUpdateCount]] and [[GetUnitUpdateCount]] for additional timer-based commands.
  
 ===== Examples ===== ===== Examples =====
Line 12: Line 15:
 trace(GetGameTickCount) trace(GetGameTickCount)
 </code> </code>
 +<=[[4rpl:start| Index]]
  
4rpl/commands/getgametickcount.1554417461.txt.gz · Last modified: 2025/02/14 14:56 (external edit)