BIS_fnc_CPWaitUntil

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version 1.721.72
Hover & click on the images for descriptions

Description

Description:
Function waits until condition becomes true. Condition is checked with given interval.

Syntax

Syntax:
[condition, interval] spawn BIS_fnc_CPWaitUntil
Parameters:
condition: Code - (Optional, default { true }) Condition to be checked
interval: Number - (Optional, default 0.5) Interval in which the condition will be checked
Return Value:
Nothing

Examples

Example 1:
[{ not alive player }, 2] spawn BIS_fnc_CPWaitUntil;

Additional Information

Execution:
spawn
See also:
waitUntil
Groups:
CombatPatrolProgram Flow

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.