doWatch: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 20: Line 20:
'''Description:'''
'''Description:'''


Order unit to watch the given '''position''' (format [[Position]]) (silently).
Orders the unit to watch the given '''position''' (format [[Position]]) (silently).





Revision as of 12:10, 4 July 2006


unit doWatch position


Operand types:

unit: Object or Array

position: Array

Type of returned value:

Nothing

Description:

Orders the unit to watch the given position (format Position) (silently).


Example:

soldierOne doWatch getMarkerPos "MarkerMoveOne"