BIS_fnc_runLater
Jump to navigation
Jump to search
Description
- Description:
- Stack code/function that should be run later, after some time/frames or/and custom condition. Internally calls BIS_fnc_loop.
- Execution:
- call
- Groups:
- Program Flow
Syntax
- Syntax:
- [id, code, timer, timerType, condition] call BIS_fnc_runLater
- Parameters:
- id: String - unique Id
- code: Code or String - code/function that is executed later
- timer: Number - the timer value (can be in seconds or frames)
- timerType: String - can be "seconds" or "frames"
- condition: Code - the custom condition, code is only executed if timer is validated and condition is met
- Return Value:
- Nothing
Examples
- Example 1:
- Example 2:
- Example 3:
- Example 4:
- Example 5:
Additional Information
- See also:
- BIS_fnc_CPWaitUntil waitUntil BIS_fnc_loop
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