time: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
back to [[Scripting_Reference#T|COMREF]]
<h2 style="color:#000066">'''time'''</h2>
<h2 style="color:#000066">'''time'''</h2>


'''Operand types:'''
'''Operand types:'''
Line 16: Line 19:
'''Comments'''
'''Comments'''


Comments by ''Macguba''
Not to be confused with [[_time]].


Not to be confused with [[_time]]. Within a script, the reserved local variable [[_time]] returns the time elapsed since the script started running.
Within a script, the reserved local variable [[_time]] returns the time elapsed since the script started running.

Revision as of 19:05, 15 April 2006

back to COMREF

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.