Discuss this page

unvGetTick

See unvGetTick at Xelerus

Syntax (unvGetTick)
Returns number: The number of ticks since the game has started.
Category time
Description Returns how many ticks since that game was started.

Can be used to track the passage of time when firing events. An event may store the last tick it fired on as data and then subtract that from the current tick to see how much time passed between those two firings.

Example

(unvGetTick)

This will return how many ticks since the game. Return to Functions list