waitUntil: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 21: Line 21:


Suspend execution of script until condition is satisfied.
Suspend execution of script until condition is satisfied.


'''Example:'''
'''Example:'''


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

Revision as of 13:23, 29 June 2006


waitUntil condition


Operand types:

condition: Code

Type of returned value:

Nothing

Compatibility:

Version 2.60 required.

Description:

Suspend execution of script until condition is satisfied.


Example:

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