BIS fnc trackMissionTime: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "^ \{\{(Command|Function)" to "{{$1") |
Lou Montana (talk | contribs) m (Text replacement - "= <code>([^<{]+)<\/code>" to "= <sqf>$1</sqf>") |
||
(15 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=function | ||
| arma3 | | |game1= arma3 | ||
|version1= 1.00 | |||
| | |gr1= Missions | ||
| | |descr= Tracks mission time by storing time in [[profileNamespace]]. | ||
| | |s1= [save, delete] call [[BIS_fnc_trackMissionTime]] | ||
| | |p1= save: [[Boolean]] (Optional, default [[true]]) | ||
| | |p2= delete: [[Boolean]] (Optional, default [[false]]) | ||
| | |r1= [[Number]] - time result | ||
|x1= < | |x1= <sqf>[true, true] call BIS_fnc_trackMissionTime; // Delete saved mission time</sqf> | ||
| | |x2= <sqf>[true] call BIS_fnc_trackMissionTime; // Save mission time</sqf> | ||
|seealso= [[time]] [[serverTime]] [[systemTime]] | |||
}} | }} | ||
Latest revision as of 17:00, 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:
- Example 2:
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