waitUntil: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 8: Line 8:
'''Operand types:'''
'''Operand types:'''


condition: [[Code]]
'''condition:''' [[Code]]


'''Type of returned value:'''
'''Type of returned value:'''

Revision as of 13:38, 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}