lookAt

From Bohemia Interactive Community
Revision as of 15:11, 2 July 2006 by planck (talk | contribs)
Jump to: navigation, 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"