time

From Bohemia Interactive Community
Revision as of 09:51, 20 May 2006 by Thobson (talk | contribs)
Jump to navigation Jump to search


time


Operand types:

None

Type of returned value:

Number

Description:

Time elapsed since mission started (in seconds).


Comments:

Not to be confused with _time.

Within a script, the reserved local variable _time returns the time elapsed since the script started running.

Note that the values of time and _time are not saved when the mission is saved and so will be reset to zero when a mission is restarted from a saved position.