User Tools

Site Tools


modding:function:unvgettick

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

modding/function/unvgettick.txt · Last modified: 2017/01/28 05:12 by 0xabcdef