BIS fnc trackMissionTime: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects? in MP|Multiplayer Effects(...)
(Page filling)
Line 1: Line 1:
{{Function| arma3|1.00|gr1 = Missions|| <!-- [] call [[BIS_fnc_trackMissionTime]]; -->|p1=||x1= <code></code>
{{Function


|}}
|game1= arma3


|version1= 1.00


|gr1= Missions


[[Category:Functions|{{uc:trackMissionTime}}]]
|descr= Tracks mission time by storing time in [[profileNamespace]].
[[Category:{{Name|arma3}}: Functions|{{uc:trackMissionTime}}]]
 
|s1= [save, delete] call [[BIS_fnc_trackMissionTime]]
 
|p1= save: [[Boolean]] (Optional, default [[true]])
 
|p2= delete: [[Boolean]] (Optional, default [[false]])
 
|r1= [[Number]] - time result
 
|x1= <code>[<nowiki/>[[true]], [[true]]] [[call]] BIS_fnc_trackMissionTime;</code>
 
|seealso= [[time]], [[serverTime]], [[systemTime]]
}}

Revision as of 21:52, 22 January 2021

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;

Additional Information

See also:
timeserverTimesystemTime

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