BIS fnc trackMissionTime: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|game([0-9])= *([^ ]+) * +\|version([0-9])= *([^ ]+) * " to "|game$1=$2 |version$3=$4 ")
m (Text replacement - "\|seealso= ([^ ]+)(\]\]|\}\}), *(\[\[|\{\{)" to "|seealso= $1$2 $3")
Line 20: Line 20:
|x2= <code>[<nowiki/>[[true]]] [[call]] [[BIS_fnc_trackMissionTime]]; {{cc|Save mission time}}</code>
|x2= <code>[<nowiki/>[[true]]] [[call]] [[BIS_fnc_trackMissionTime]]; {{cc|Save mission time}}</code>


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

Revision as of 12:58, 1 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 serverTimesystemTime

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