BIS fnc CPWaitUntil: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Text replacement - " \| *(\[[a-zA-Z,. ]*\] spawn ('''|\[\[)?BI(N|S)_fnc_[a-zA-Z]+('''|\]\])?) * \|p1=" to " |s1=$1 |p1=") |
||
Line 11: | Line 11: | ||
| Function waits until condition becomes true. Condition is checked with given interval. | | Function waits until condition becomes true. Condition is checked with given interval. | ||
|[condition, interval] spawn [[BIS_fnc_CPWaitUntil]] | |s1=[condition, interval] spawn [[BIS_fnc_CPWaitUntil]] | ||
|p1= condition: [[Code]] - (Optional, default {{ic|{ [[true]] }<nowiki/>}}) Condition to be checked | |p1= condition: [[Code]] - (Optional, default {{ic|{ [[true]] }<nowiki/>}}) Condition to be checked |
Revision as of 16:03, 12 June 2021
Description
- Description:
- Description needed
- 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:
[{ not alive player }, 2] spawn BIS_fnc_CPWaitUntil;
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