This is an old revision of the document!
GetUnitUpdateCount
Pushes the unit's update count to the stack. The update count for a unit starts at 0 when the unit is first created. 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 30 times per second.
Also refer to getgameupdatecount and getgametickcount for additional timer-based commands.
trace(GetUnitUpdateCount)