lookAt

From Bohemia Interactive Community
Revision as of 16:11, 2 July 2006 by Planck (talk | contribs)
Jump to navigation Jump to search


unit(s) lookAt position


Operand types:

unit(s): Object or Array

position: Object or Array

Type of returned value:

Nothing

Compatibility:

Version 2.40 required.

Description:

Control what the unit is looking at (target or position) (format Position)


Examples:

someSoldier lookAt otherSoldier

otherSoldier lookAt getMarkerPos "markerOne"