lookAt: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 3: Line 3:
[[Category:Scripting Commands ArmA|LOOKAT]]
[[Category:Scripting Commands ArmA|LOOKAT]]


<new command not populated>


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


<h2 style="color:#000066">''''' lookAt '''''</h2>


'''Operand types:'''
'''unit(s):''' [[Object]] or [[Array]]


'''Operand types:'''
'''position:''' [[Object]] or [[Array]]


'''Type of returned value:'''
'''Type of returned value:'''
[[Nothing]]


'''Compatibility:'''
'''Compatibility:'''
Version 2.40 required.


'''Description:'''
'''Description:'''


Control what the unit is looking at (target or position) (format [[Position]])
'''Examples:'''
someSoldier '''lookAt''' otherSoldier


'''Example:'''
otherSoldier '''lookAt''' getMarkerPos "markerOne"

Revision as of 15:11, 2 July 2006


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"