modding:function:unvgettick
Differences
This shows you the differences between two versions of the page.
modding:function:unvgettick [2014/12/27 04:40] – external edit 127.0.0.1 | modding:function:unvgettick [2017/01/28 05:12] (current) – 0xabcdef | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | Discuss this page on this pages [[unvGetTick Talk Page|TalkPage]] | + | [[unvGetTick Talk Page|Discuss this page]] |
=== unvGetTick === | === unvGetTick === | ||
Line 7: | Line 7: | ||
^ Syntax | (unvGetTick) | | ^ Syntax | (unvGetTick) | | ||
^ Returns | number: The number of ticks since the game has started. | | ^ Returns | number: The number of ticks since the game has started. | | ||
- | ^ Category | [[time]] | | + | ^ Category | [[time functions | time]] | |
^ Description | Returns how many ticks since that game was started. | | ^ 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 === | === Example === |
modding/function/unvgettick.1419655256.txt.gz · Last modified: 2017/01/28 05:12 (external edit)