Difference between revisions of "GetSecondsPassed"
m
beholdeth, clarity
imported>QQuix (Removed 'reset to zero' text and example) |
imported>Quetzilla m (beholdeth, clarity) |
||
Line 2: | Line 2: | ||
(seconds:float) GetSecondsPassed | (seconds:float) GetSecondsPassed | ||
Returns the number of seconds passed since the last | Returns the number of seconds passed since the last frame in which the current script was processed (in float). Extremely useful for running a timer within a script. Each script has its own counter for GetSecondsPassed. All calls within the same frame and script will return the same value. | ||