time: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| ofp |= Game name | |||
|1.00|= Game version | |||
____________________________________________________________________________________________ | |||
| Time elapsed since mission started (in seconds). |= Description | |||
____________________________________________________________________________________________ | |||
''' | | '''time''' |= Syntax | ||
| [[Number]] |= Return value | |||
____________________________________________________________________________________________ | |||
| |= See also | |||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- Note Section BEGIN --> | |||
<!-- Note Section END --> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
Old Notes (temporary): | |||
''' | 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 value of time is not saved when the mission is saved and so will be reset to zero when a mission is restarted from a saved position. The value of _time is saved correctly and will resume from where it was. | ||
[[Category:Scripting Commands|TIME]] | |||
[[Category:Scripting Commands OFP 1.96|TIME]] | |||
[[Category:Scripting Commands OFP 1.46|TIME]] | |||
Within a script, the reserved local variable | [[Category:Scripting Commands ArmA|TIME]] | ||
Note that the value of | |||
The value of |
Revision as of 22:54, 1 August 2006
Description
- Description:
- Time elapsed since mission started (in seconds).
- Groups:
- Uncategorised
Syntax
- Syntax:
- time
- Return Value:
- Number
Examples
- Examples:
- Example needed
Additional Information
- See also:
- See also needed
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
Notes
Bottom Section
Old Notes (temporary):
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 value of time is not saved when the mission is saved and so will be reset to zero when a mission is restarted from a saved position. The value of _time is saved correctly and will resume from where it was.