doWatch target: Difference between revisions

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




<h2 style="color:#000066">'''doWatch ''target'''''</h2>
<h2 style="color:#000066">'''''unit'' doWatch ''target'''''</h2>




'''Operand types:'''
'''Operand types:'''
'''unit:''' [[Object]] or [[Array]]


'''target:''' [[Object]]
'''target:''' [[Object]]
Line 18: Line 20:
'''Description:'''
'''Description:'''


Order unit to move, to watch given '''target''' (silent).
Orders the unit to watch the given '''target''' (silently).





Revision as of 12:10, 4 July 2006


unit doWatch target


Operand types:

unit: Object or Array

target: Object

Type of returned value:

Nothing

Description:

Orders the unit to watch the given target (silently).


Example:

soldierOne doWatch player