glanceAt: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|GLANCEAT]]
{{Command|= Comments
[[Category:Scripting Commands OFP Elite |GLANCEAT]]
____________________________________________________________________________________________
[[Category:Scripting Commands ArmA|GLANCEAT]]


| arma |= Game name


<h2 style="color:#000066">'''''unit(s)'' glanceAt ''position'''''</h2>
|2.4|= Game version
____________________________________________________________________________________________


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


'''Operand types:'''
| unit(s) '''glanceAt''' position |= Syntax


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


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


'''Type of returned value:'''
| [[Nothing]] |= Return value
____________________________________________________________________________________________


[[Nothing]]
|  |= See also


'''Compatibility:'''
}}


Version 2.40 required.
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


'''Description:'''
<!-- Note Section END -->
</dl>


Control what the unit is glancing at (target or position) (format [[Position]]])
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|GLANCEAT]]
 
[[Category:Scripting Commands OFP Elite |GLANCEAT]]
'''Examples:'''
[[Category:Scripting Commands ArmA|GLANCEAT]]
 
someSoldier '''glanceAt''' otherSoldier
 
otherSoldier '''glanceAt''' [[getMarkerPos]] "markerOne"

Revision as of 00:23, 2 August 2006

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

Description

Description:
Control what the unit is glancing at (target or position) (format Position]) Examples: someSoldier glanceAt otherSoldier otherSoldier glanceAt getMarkerPos "markerOne"
Groups:
Uncategorised

Syntax

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

Examples

Examples:
Example needed

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