lookAt: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (reset arma ver / fixed examples / desc)
Line 4: Line 4:
| arma |= Game name
| arma |= Game name


|2.4|= Game version
|1.00|= Game version
____________________________________________________________________________________________
____________________________________________________________________________________________


| Control what the unit is looking at (target or position) (format [[Position]])  
| Control what the unit is looking at (target or position) (format [[Position]]) |= Description
Examples: someSoldier lookAt otherSoldier otherSoldier lookAt getMarkerPos "markerOne" |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 19: Line 18:
| [[Nothing]] |= Return value
| [[Nothing]] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________
 
|x1= <code> someSoldier '''lookAt''' otherSoldier </code> |=Example 1
|x2= <code> otherSoldier '''lookAt''' [[getMarkerPos]] "markerOne" </code> |=Example 2
|  |= See also
|  |= See also



Revision as of 01:54, 4 October 2006

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Control what the unit is looking at (target or position) (format Position)
Groups:
Uncategorised

Syntax

Syntax:
unit(s) lookAt position
Parameters:
unit(s): Object
position: Object
Return Value:
Nothing

Examples

Example 1:
someSoldier lookAt otherSoldier
Example 2:
otherSoldier lookAt getMarkerPos "markerOne"

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section