getPosVisual: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *arma3 * * *\| *([0-2]\.[0-9]{2}) * " to "|game1= arma3 |version1= $1 ")
m (Text replacement - "\|s([0-9])\= '''([^' ]+)'''([^ ]+) " to "|s$1= $2$3 ")
Line 10: Line 10:
|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]].
|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


|p1= object: [[Object]]: - name of the object
|p1= object: [[Object]]: - name of the object

Revision as of 18:04, 20 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