waitUntil

From Bohemia Interactive Community
Revision as of 09:53, 24 July 2006 by Djura (talk | contribs) (It can be used in functions too)
Jump to navigation Jump to search


waitUntil condition


Operand types:

condition: Code

Type of returned value:

Nothing

Compatibility:

Version 2.60 required.

Description:

Suspend execution of script (or function as well) until condition is satisfied.


Example:

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