eyePos: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * \|p1=" to " |s1= $1 |p1=")
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3")
Line 14: Line 14:
|gr1= Positions
|gr1= Positions


| Returns the object's eyes / main turret position.
|descr= Returns the object's eyes / main turret position.


|s1=  '''eyePos''' object
|s1=  '''eyePos''' object

Revision as of 22:03, 13 June 2021

Hover & click on the images for description

Description

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

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