getPosVisual: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \|p([0-9]{1,2})=([^ ]+) + \| *(\[\[Arr.+) * " to " |p$1=$2 |r1=$3 ")
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3")
Line 8: Line 8:
|gr2= Render Time Scope
|gr2= Render Time Scope


| Returns an object's rendered [[Position|3D position]] (z value above sea when over sea, or above ground when over land) in render time scope. Alias of [[visiblePosition]].
|descr= Returns an object's rendered [[Position|3D position]] (z value above sea when over sea, or above ground when over land) in render time scope. Alias of [[visiblePosition]].


|s1= '''getPosVisual''' object
|s1= '''getPosVisual''' object

Revision as of 22:04, 13 June 2021

Hover & click on the images for description

Description

Description:
Returns an object's rendered 3D position (z value above sea when over sea, or above ground when over land) in render time scope. Alias of visiblePosition.
Groups:
Object ManipulationRender Time Scope

Syntax

Syntax:
getPosVisual object
Parameters:
object: Object: - name of the object
Return Value:
Array - format PositionAGLS

Examples

Example 1:
_playerRenderedPos = getPosVisual player;

Additional Information

See also:
getPosASLVisualgetPosATLVisualvisiblePositionASLvisiblePositionpositiongetPosgetPosATLgetPosASLgetPosASLW

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