BIS fnc countdown: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (fixed see also)
m (template:command argument fix)
Line 8: Line 8:
___________________________________________________________________________________________
___________________________________________________________________________________________


| Triggers a countdown. Countdown can be accessed via [[missionNamespace]] variable '''bis_fnc_countdown_time'''|= Description
| Triggers a countdown. Countdown can be accessed via [[missionNamespace]] variable '''bis_fnc_countdown_time'''|DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [timeInSeconds,global] [[call]] '''BIS_fnc_countdown''' |= Syntax
| [timeInSeconds,global] [[call]] '''BIS_fnc_countdown''' |SYNTAX=


|p1= timeInSeconds - [[Number]]: Length of the countdown in seconds |= Parameter 1
|p1= timeInSeconds - [[Number]]: Length of the countdown in seconds |= Parameter 1
|p2= global - [[Boolean]]: True to set it globally (Optional) Default: true |= Parameter 2
|p2= global - [[Boolean]]: True to set it globally (Optional) Default: true |= Parameter 2
|[[Number]]: Returns approx. countdown |= Return value
|[[Number]]: Returns approx. countdown |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 21: Line 21:
____________________________________________________________________________________________
____________________________________________________________________________________________


||= See also
||SEEALSO=





Revision as of 11:26, 7 April 2019


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

Notes

Bottom Section