glanceAt: Difference between revisions

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




<h2 style="color:#000066">''unit(s)'' ''''' glanceAt ''''' ''position''</h2>
<h2 style="color:#000066">'''''unit(s)'' glanceAt ''position'''''</h2>




Line 24: Line 24:
'''Description:'''
'''Description:'''


Control what the unit is glancing at (target or position) (format Position)
Control what the unit is glancing at (target or position) (format [[Position]]])
 


'''Example:'''
'''Example:'''


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

Revision as of 04: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])


Example:

someSoldier glanceAt otherSoldier

otherSoldier glanceAt getMarkerPos "markerOne"