getPosVisual: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "PositionAGLS" to "PositionAGLS")
Line 15: Line 15:
|p1= object: [[Object]]: - name of the object
|p1= object: [[Object]]: - name of the object


|r1= [[Array]] - format [[PositionAGLS]]
|r1= [[Array]] - format [[Position#PositionAGLS|PositionAGLS]]


    
    

Revision as of 16:53, 5 January 2022

Hover & click on the images for description

Description

Description:
Returns an object's AGLS position in render time scope. Alias of visiblePosition.
This command should not be used for actual 3D calculations. See getPos for more details.
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