waitUntil: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Only for functions)
mNo edit summary
Line 20: Line 20:
'''Description:'''
'''Description:'''


Suspend execution of [[Functions - SQF|function]] based script until condition is satisfied.
Suspend execution of [[Function|function]] based script until condition is satisfied.





Revision as of 14:35, 25 July 2006


waitUntil condition


Operand types:

condition: Code

Type of returned value:

Nothing

Compatibility:

Version 2.60 required.

Description:

Suspend execution of function based script until condition is satisfied.


Example:

_i = 0; waitUntil {_i = _i + 1; _i >= 100}