BIS fnc missionTimeLeft: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...)
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *T([a-z ])" to "$1 - t$2")
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function
{{RV|type=function


| arma3
|game1= arma3
|version1= 1.00


|1.00
|gr1= Missions


|gr1 = Missions
|descr= Returns time in seconds until the mission end. Remaining time can be set using [[estimatedTimeLeft]] command or using [[BIS_fnc_countdown]].


| Returns time in seconds until the mission end. Remaining time can be set using [[estimatedTimeLeft]] command or using [[BIS_fnc_countdown]].
|s1= call [[BIS_fnc_missionTimeLeft]]


|r1= [[Number]] - time left


| call [[BIS_fnc_missionTimeLeft]]
|x1= <sqf>call BIS_fnc_missionTimeLeft;</sqf>


| [[Number]] - Time left
|seealso= [[estimatedTimeLeft]] [[BIS_fnc_countdown]]
 
|x1= <code>[[call]] [[BIS_fnc_missionTimeLeft]];</code>
 
| [[estimatedTimeLeft]], [[BIS_fnc_countdown]]
}}
}}
<h3 style="display:none">Bottom Section</h3>
[[Category:Functions|{{uc:missionTimeLeft}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:missionTimeLeft}}]]

Latest revision as of 15:50, 8 November 2023

Hover & click on the images for description

Description

Description:
Returns time in seconds until the mission end. Remaining time can be set using estimatedTimeLeft command or using BIS_fnc_countdown.
Execution:
call
Groups:
Missions

Syntax

Syntax:
call BIS_fnc_missionTimeLeft
Return Value:
Number - time left

Examples

Example 1:
call BIS_fnc_missionTimeLeft;

Additional Information

See also:
estimatedTimeLeft BIS_fnc_countdown

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