GetTime

From VisionaireWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

getTime

Returns the number of milli seconds since the command was called the first time (or the timer was reset). Use this command for relative time measurements. E.g. call this command twice at different locations and calculate the time differential to see the time passed.

Lua Syntax:

getTime({flags=1, reset = true|false})

Arguments

Flags

r/reset

If true the timer will be reset and the next call(s) will return the time passed since this call.

Return Values

time
Milli seconds