eyePos: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
(3 intermediate revisions by 3 users not shown)
Line 3: Line 3:


| arma2oa |= Game name
| arma2oa |= Game name
|1.62|= Game version
|1.62|= Game version
|arg= global|= Arguments in MP
____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns the object's eyes / main turret position. |= Description
| Returns the object's eyes / main turret position. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''eyePos''' object |= Syntax
| '''eyePos''' object |SYNTAX=


|p1= object: [[Object]] |= Parameter 1
|p1= object: [[Object]] |PARAMETER1=


| [[Array]] - format [[PositionASL]] |= Return value
| [[Array]] - format [[PositionASL]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>'''eyePos''' [[player]]</code> |= Example 1
|x1= <code>'''eyePos''' [[player]]</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[getPosASL]], [[setPosASL]], [[setPosASL2]] |= See also
| [[eyeDirection]], [[getPosASL]], [[setPosASL]], [[setPosASL2]], [[getCameraViewDirection]], [[positionCameraToWorld]] |SEEALSO=


}}
}}

Revision as of 15:39, 7 April 2019

Hover & click on the images for description

Description

Description:
Returns the object's eyes / main turret position.
Groups:
Uncategorised

Syntax

Syntax:
eyePos object
Parameters:
object: Object
Return Value:
Array - format PositionASL

Examples

Example 1:
eyePos player

Additional Information

See also:
eyeDirectiongetPosASLsetPosASLsetPosASL2getCameraViewDirectionpositionCameraToWorld

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