glanceAt: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Reset ArmA version)
m (Fixed syntax and example)
Line 9: Line 9:
| Control what the unit is glancing at (target or position) (format [[Position]]).
| Control what the unit is glancing at (target or position) (format [[Position]]).


How frequently the unit is glancing there depends on behaviour. |x1=
How frequently the unit is glancing there depends on behaviour. |= Description
<code>someSoldier glanceAt otherSoldier</code>
<code>otherSoldier glanceAt [[getMarkerPos]] "markerOne"</code> |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| unit(s) '''glanceAt''' position |= Syntax
| unit(s) '''glanceAt''' position |= Syntax


|p1= unit(s): [[Object]] |= Parameter 1
|p1= unit(s): [[Object]] or [[Array]] |= Parameter 1


|p2= position: [[Object]] |= Parameter 2
|p2= position: [[Object]] |= Parameter 2


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value
____________________________________________________________________________________________
|x1= <code>someSoldier glanceAt otherSoldier</code> | =E1
|x2= <code>otherSoldier glanceAt [[markerPos]] "markerOne"</code> | =E2
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 08:57, 27 October 2006

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

Description

Description:
Control what the unit is glancing at (target or position) (format Position). How frequently the unit is glancing there depends on behaviour.
Groups:
Uncategorised

Syntax

Syntax:
unit(s) glanceAt position
Parameters:
unit(s): Object or Array
position: Object
Return Value:
Nothing

Examples

Example 1:
someSoldier glanceAt otherSoldier
Example 2:
otherSoldier glanceAt markerPos "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