BIS fnc countdown: Difference between revisions
Jump to navigation
Jump to search
m (template:command argument fix) |
m (template:command argument fix) |
||
Line 13: | Line 13: | ||
| [timeInSeconds,global] [[call]] '''BIS_fnc_countdown''' |SYNTAX= | | [timeInSeconds,global] [[call]] '''BIS_fnc_countdown''' |SYNTAX= | ||
|p1= timeInSeconds - [[Number]]: Length of the countdown in seconds |= | |p1= timeInSeconds - [[Number]]: Length of the countdown in seconds |PARAMETER1= | ||
|p2= global - [[Boolean]]: True to set it globally (Optional) Default: true |= | |p2= global - [[Boolean]]: True to set it globally (Optional) Default: true |PARAMETER2= | ||
|[[Number]]: Returns approx. countdown |RETURNVALUE= | |[[Number]]: Returns approx. countdown |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>_countDown = [50,false] [[call]] '''BIS_fnc_countDown''';</code> |= | |x1= <code>_countDown = [50,false] [[call]] '''BIS_fnc_countDown''';</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 14:28, 7 April 2019
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:
- See also needed
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