BIS fnc missionTimeLeft: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *T([a-z ])" to "$1 - t$2")
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=function
{{RV|type=function


| arma3
|game1= arma3
 
|version1= 1.00
|1.00


|gr1= Missions
|gr1= Missions
Line 9: Line 8:
|descr= Returns time in seconds until the mission end. Remaining time can be set using [[estimatedTimeLeft]] command or using [[BIS_fnc_countdown]].
|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]]
|s1= call [[BIS_fnc_missionTimeLeft]]


|r1=[[Number]] - Time left
|r1= [[Number]] - time left


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


|seealso= [[estimatedTimeLeft]], [[BIS_fnc_countdown]]
|seealso= [[estimatedTimeLeft]] [[BIS_fnc_countdown]]
}}
}}

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