glanceAt: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Fixed syntax and example)
m (Fixed syntax once again)
Line 16: Line 16:
|p1= unit(s): [[Object]] or [[Array]] |= Parameter 1
|p1= unit(s): [[Object]] or [[Array]] |= Parameter 1


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


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value

Revision as of 09:58, 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 or Array
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