doTarget: 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">'''doTarget ''postion'''''</h2>
<h2 style="color:#000066">'''''unit'' doTarget ''position'''''</h2>




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


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


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





Revision as of 12:07, 4 July 2006


unit doTarget position


Operand types:

unit: Object or Array

position: Object

Type of returned value:

Nothing

Description:

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


Example:

soldierOne doTarget player