BIS_fnc_CPWaitUntil
- Runs with spawn
- Arma 3 v1.72
Function · also in Program Flow · Markdown · JSON · original wiki page
Description
Function waits until condition becomes true. Condition is checked with given interval.
Syntax
[condition, interval] spawn BIS_fnc_CPWaitUntil
Parameters:
condition: Code - (Optional, default{ true }) condition to be checkedinterval: Number - (Optional, default 0.5) interval in which the condition will be checked
Returns: Nothing
Examples
Example 1
[{ not alive player }, 2] spawn BIS_fnc_CPWaitUntil;