unitReady: Difference between revisions

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


None
'''unit:''' [[Object or Array]]


'''Type of returned value:'''
'''Type of returned value:'''
Line 18: Line 18:
'''Description:'''
'''Description:'''


Check if unit is ready.
Check if the unit is ready.


Unit is busy when it is given some command like [[move]], until the command is finished.
Unit is busy when it is given some command like [[move]], until the command is finished.

Revision as of 00:12, 30 June 2006


unitReady unit


Operand types:

unit: Object or Array

Type of returned value:

Boolean

Description:

Check if the unit is ready.

Unit is busy when it is given some command like move, until the command is finished.


Example:

_it = unitReady soldierOne