lookAt

From Bohemia Interactive Community
Revision as of 16:11, 2 July 2006 by Planck (talk | contribs)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


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"