BIS fnc missionTimeLeft: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>(\[[a-zA-Z0-9_, ]*\] )?\[\[(call|spawn)\]\] \[\[(BI[NS]\_fnc\_[a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1$2 $3;</sqf>")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *T([a-z ])" to "$1 - t$2")
 
(One intermediate revision by the same user not shown)
Line 10: Line 10:
|s1= call [[BIS_fnc_missionTimeLeft]]
|s1= call [[BIS_fnc_missionTimeLeft]]


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


|x1= <sqf>call BIS_fnc_missionTimeLeft;</sqf>
|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