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:'''


Nothing
[[Nothing]]


'''Compatibility:'''
'''Compatibility:'''

Revision as of 14:24, 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}