BIS fnc trackMissionTime: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Function " to "{{RV|type=function ")
m (Text replacement - "= <code>([^<{]+)<\/code>" to "= <sqf>$1</sqf>")
 
(9 intermediate revisions by the same user not shown)
Line 2: Line 2:


|game1= arma3
|game1= arma3
|version1= 1.00
|version1= 1.00


Line 17: Line 16:
|r1= [[Number]] - time result
|r1= [[Number]] - time result


|x1= <code>[<nowiki/>[[true]], [[true]]] [[call]] [[BIS_fnc_trackMissionTime]];{{cc|Delete saved mission time}}</code>
|x1= <sqf>[true, true] call BIS_fnc_trackMissionTime; // Delete saved mission time</sqf>


|x2= <code>[<nowiki/>[[true]]] [[call]] [[BIS_fnc_trackMissionTime]];{{cc|Save mission time}}</code>
|x2= <sqf>[true] call BIS_fnc_trackMissionTime; // Save mission time</sqf>


|seealso= [[time]], [[serverTime]], [[systemTime]]
|seealso= [[time]] [[serverTime]] [[systemTime]]
}}
}}

Latest revision as of 17:00, 13 July 2022

Hover & click on the images for description

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