BIS fnc trackMissionTime: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]*)<nowiki\/>\[\[([a-zA-Z0-9_]+)\]\](.*)<\/code>" to "<code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Text replacement - "= <code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-_]+)\]\]([^<]*)<\/code>" to "= <code>$1$2$3</code>") |
||
Line 16: | Line 16: | ||
|r1= [[Number]] - time result | |r1= [[Number]] - time result | ||
|x1= <code>[true, | |x1= <code>[true, true] [[call]] [[BIS_fnc_trackMissionTime]]; // Delete saved mission time</code> | ||
|x2= <code>[true] | |x2= <code>[true] call [[BIS_fnc_trackMissionTime]]; // Save mission time</code> | ||
|seealso= [[time]] [[serverTime]] [[systemTime]] | |seealso= [[time]] [[serverTime]] [[systemTime]] | ||
}} | }} |
Revision as of 16:56, 13 July 2022
Description
- Description:
- Tracks mission time by storing time in profileNamespace.
- Execution:
- call
- Groups:
- Missions
Syntax
- Syntax:
- [save, delete] call BIS_fnc_trackMissionTime
- Parameters:
- save: Boolean (Optional, default true)
- delete: Boolean (Optional, default false)
- Return Value:
- Number - time result
Examples
- Example 1:
[true, true] call BIS_fnc_trackMissionTime; // Delete saved mission time
- Example 2:
[true] call BIS_fnc_trackMissionTime; // Save mission time
Additional Information
- See also:
- time serverTime systemTime
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