BIS fnc missionTimeLeft: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (pf)
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *T([a-z ])" to "$1 - t$2")
 
(27 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Function|= Comments
{{RV|type=function
____________________________________________________________________________________________


| arma3 |= Game name
|game1= arma3
|version1= 1.00


|1.00|= Game version
|gr1= Missions
____________________________________________________________________________________________


| Returns time in seconds until the mission end. Remaining time can be set using [[estimatedTimeLeft]] command or using [[BIS_fnc_countdown]].|= Description
|descr= 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]]


| call [[BIS_fnc_missionTimeLeft]] |= Syntax
|r1= [[Number]] - time left
____________________________________________________________________________________________


| [[Number]] - Time left|= Return value
|x1= <sqf>call BIS_fnc_missionTimeLeft;</sqf>
____________________________________________________________________________________________


|x1= <code>[[call]] [[BIS_fnc_missionTimeLeft]];</code> |=
|seealso= [[estimatedTimeLeft]] [[BIS_fnc_countdown]]
____________________________________________________________________________________________
 
| [[estimatedTimeLeft]], [[BIS_fnc_countdown]]|= See also
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: MP|{{uc:missionTimeLeft}}]]
[[Category:Functions|{{uc:missionTimeLeft}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:missionTimeLeft}}]]

Latest revision as of 16: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