lookAt: Difference between revisions
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]] | ||
<h2 style="color:#000066">'''''unit(s)'' lookAt ''position'''''</h2> | |||
'''Operand types:''' | |||
'''unit(s):''' [[Object]] or [[Array]] | |||
''' | '''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 | |||
''' | otherSoldier '''lookAt''' getMarkerPos "markerOne" |
Revision as of 15:11, 2 July 2006
unit(s) lookAt position
Operand types:
Type of returned value:
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"