waitUntil: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Better example.)
m (reset arma ver / added example from history.)
Line 4: Line 4:
| arma |= Game name
| arma |= Game name


|2.6|= Game version
|1.00|= Game version
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 17: Line 17:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>waitUntil {not alive player}</pre> |= Example 1
|x1= <code>'''waitUntil''' {not [[alive]] [[player]]}</code> |= Example 1
|x2= <code>_i <nowiki>=</nowiki> 0; '''waitUntil''' {_i <nowiki>=</nowiki> _i + 1; _i ><nowiki>=</nowiki> 100} </code> |=Example 2
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 19:12, 27 September 2006

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Suspend execution of function based script until condition is satisfied.
Groups:
Uncategorised

Syntax

Syntax:
waitUntil condition
Parameters:
condition: Code
Return Value:
Nothing

Examples

Example 1:
waitUntil {not alive player}
Example 2:
_i = 0; waitUntil {_i = _i + 1; _i >= 100}

Additional Information

See also:
See also needed

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

Notes

Bottom Section