BIS fnc missionTimeLeft: Difference between revisions

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


{{Function|= Comments
|game1= arma3
____________________________________________________________________________________________
|version1= 1.00


| arma3 |= Game name
|gr1= Missions


|1.00|= Game version
|descr= Returns time in seconds until the mission end. Remaining time can be set using [[estimatedTimeLeft]] command or using [[BIS_fnc_countdown]].
____________________________________________________________________________________________


| <pre>/*
|s1= call [[BIS_fnc_missionTimeLeft]]


Description:
|r1= [[Number]] - time left
Returns time in seconds until the mission end.
Remaining time can be set using 'estimatedTimeLeft' command or using BIS_fnc_countdown


Parameter(s): None
|x1= <sqf>call BIS_fnc_missionTimeLeft;</sqf>
Returns:
NUMBER - time in seconds. -1 when no time was set yet.
*/
 
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________
 
| <!-- [] call [[BIS_fnc_missionTimeLeft]]; --> |= Syntax
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
 
|x1= <code></code> |=
____________________________________________________________________________________________
 
| |= See also


|seealso= [[estimatedTimeLeft]] [[BIS_fnc_countdown]]
}}
}}
<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