BIS fnc CPWaitUntil: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ :\\\-\/|()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
m (Text replacement - "{{Inline code|" to "{{ic|")
Line 13: Line 13:
|[condition, interval] spawn [[BIS_fnc_CPWaitUntil]]
|[condition, interval] spawn [[BIS_fnc_CPWaitUntil]]


|p1= condition: [[Code]] - (Optional, default {{Inline code|{ [[true]] }<nowiki/>}}) Condition to be checked
|p1= condition: [[Code]] - (Optional, default {{ic|{ [[true]] }<nowiki/>}}) 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 18:11, 27 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
spawn
Groups:
CombatPatrolProgram Flow

Syntax

Syntax:
Syntax needed
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:
Return value needed

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