glanceAt: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 27: Line 27:




'''Example:'''
'''Examples:'''


someSoldier '''glanceAt''' otherSoldier
someSoldier '''glanceAt''' otherSoldier


otherSoldier '''glanceAt''' [[getMarkerPos]] "markerOne"
otherSoldier '''glanceAt''' [[getMarkerPos]] "markerOne"

Revision as of 03:14, 3 July 2006



unit(s) glanceAt 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 glancing at (target or position) (format Position])


Examples:

someSoldier glanceAt otherSoldier

otherSoldier glanceAt getMarkerPos "markerOne"