BIS fnc CPWaitUntil: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 12: | Line 12: | ||
|s1= [condition, interval] spawn [[BIS_fnc_CPWaitUntil]] | |s1= [condition, interval] spawn [[BIS_fnc_CPWaitUntil]] | ||
|p1= condition: [[Code]] - (Optional, default { | |p1= condition: [[Code]] - (Optional, default <sqf inline>{ true }</sqf>) Condition to be checked | ||
|p2= interval: [[Number]] - (Optional, default 0.5) Interval in which the condition will be checked | |p2= interval: [[Number]] - (Optional, default 0.5) Interval in which the condition will be checked |
Revision as of 17:29, 27 July 2022
Description
- Description:
- Function waits until condition becomes true. Condition is checked with given interval.
- Execution:
- spawn
- Groups:
- CombatPatrolProgram Flow
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:
Additional Information
- See also:
- waitUntil
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