BIS fnc missionTimeLeft: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
m (template:command argument fix)
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Function|= Comments
{{Function|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________
Line 8: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| Returns time in seconds until the mission end. Remaining time can be set using [[estimatedTimeLeft]] command or using [[BIS_fnc_countdown]].|DESCRIPTION=


Description:
____________________________________________________________________________________________
Returns time in seconds until the mission end.
Remaining time can be set using 'estimatedTimeLeft' command or using BIS_fnc_countdown
 
Parameter(s): None
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=
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_missionTimeLeft]]; --> |= Syntax
| [[Number]] - Time left|RETURNVALUE=
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________


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


| |= See also
| [[estimatedTimeLeft]], [[BIS_fnc_countdown]]|SEEALSO=
 
}}
}}



Revision as of 12:29, 7 April 2019

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

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

Notes

Bottom Section