Difference between revisions of "lookAt"

From Bohemia Interactive Community
Jump to navigation Jump to search
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 00:54, 4 October 2006

Introduced with Armed Assault version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Armed Assault
Version:
1.00

Description

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

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

Multiplayer:
-
See also:
See also needed

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

Notes

Bottom Section