Difference between revisions of "lookAt"
From Bohemia Interactive Community
m (see also) |
killzone_kid (talk | contribs) (see also) |
||
Line 20: | Line 20: | ||
|x1= <code> _someSoldier '''lookAt''' _otherSoldier </code> |=Example 1 | |x1= <code> _someSoldier '''lookAt''' _otherSoldier </code> |=Example 1 | ||
|x2= <code> [_someSoldier, _otherSoldier] '''lookAt''' [[markerPos]] "markerOne" </code> |=Example 2 | |x2= <code> [_someSoldier, _otherSoldier] '''lookAt''' [[markerPos]] "markerOne" </code> |=Example 2 | ||
− | | [[commandWatch]], [[doWatch]] |= See also | + | | [[commandWatch]], [[doWatch]], [[freeLook]] |= See also |
}} | }} |
Revision as of 00:17, 16 August 2017
Click on the images for descriptions
Introduced in
- Game:
- Armed Assault
- Version:
- 1.00
Description
- Description:
- Control what the unit(s) is/are looking at (target or position).
Syntax
- Syntax:
- unit(s) lookAt position
- Parameters:
- unit(s): Object or Array
- position: Object or Array
- Return Value:
- Nothing
Examples
- Example 1:
_someSoldier lookAt _otherSoldier
- Example 2:
[_someSoldier, _otherSoldier] lookAt markerPos "markerOne"
Additional Information
- Multiplayer:
- -
- See also:
- commandWatchdoWatchfreeLook
Notes
Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To
Add New Note | How To
Notes
Bottom Section
Categories:
- Pages using duplicate arguments in template calls
- Armed Assault: New Scripting Commands List
- Scripting Commands
- Introduced with Armed Assault version 1.00
- Scripting Commands OFP Elite
- Scripting Commands ArmA
- Command Group: Unit Control
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters