BIS fnc missionTimeLeft: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " |r1=[[" to " |r1= [[")
m (Text replacement - "<code>(\[[a-zA-Z0-9_, ]*\] )?\[\[(call|spawn)\]\] \[\[(BI[NS]\_fnc\_[a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1$2 $3;</sqf>")
Line 12: Line 12:
|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]]
}}
}}

Revision as of 14:04, 5 May 2022

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:
estimatedTimeLeftBIS_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