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




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


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


Order unit to follow given unit (silent).
Order unit to follow given unit (silently).





Revision as of 12:58, 4 July 2006


unit doFollow postion


Operand types:

unit: Object or Array

position: Object

Type of returned value:

Nothing

Description:

Order unit to follow given unit (silently).


Example:

soldierOne doFollow player