BIS fnc countdown: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (GVI 1.00 > 1.02 http://dev.arma3.com/post/spotrep-00011)
(filled page)
Line 6: Line 6:


|1.02|= Game version
|1.02|= Game version
___________________________________________________________________________________________
| Triggers a countdown. Countdown can be accessed via [[missionNamespace]] variable '''bis_fnc_countdown_time'''|= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| [timeInSeconds,global] [[call]] '''BIS_fnc_countdown''' |= Syntax
 
Description:
Trigger countdown
 
Parameter(s):
0: NUMBER - countdown in seconds
1: BOOL - true to set the value globally


Returns:
|p1= timeInSeconds - [[Number]]: Length of the countdown in seconds |= Parameter 1
NUMBER
|p2= global - [[Boolean]]: True to set it globally (Optional) Default: true |= Parameter 2
*/
|[[Number]]: Returns approx. countdown |= Return value
 
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_countdown]]; --> |= Syntax
|x1= <code>_countDown = [50,false] [[call]] '''BIS_fnc_countDown''';</code> |= Example 1
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code></code> |=  
| [[BIS_fnc_enemyTargets]] |= See also
____________________________________________________________________________________________


| |= See also


}}
}}

Revision as of 17:21, 5 April 2018


Hover & click on the images for description

Description

Description:
Triggers a countdown. Countdown can be accessed via missionNamespace variable bis_fnc_countdown_time
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
[timeInSeconds,global] call BIS_fnc_countdown
Parameters:
timeInSeconds - Number: Length of the countdown in seconds
global - Boolean: True to set it globally (Optional) Default: true
Return Value:
Number: Returns approx. countdown

Examples

Example 1:
_countDown = [50,false] call BIS_fnc_countDown;

Additional Information

See also:
BIS_fnc_enemyTargets

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