getPosASLVisual: Difference between revisions

From Bohemia Interactive Community
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
mNo edit summary
 
Line 17: Line 17:
|p1= object: [[Object]] - name of the object
|p1= object: [[Object]] - name of the object


|r1= [[Array]] format [[Position#PositionASL|PositionASL]]
|r1= [[Position#PositionASL|PositionASL]]


|x1= <sqf>private _playerRenderedPosASL = getPosASLVisual player;</sqf>
|x1= <sqf>private _playerRenderedPosASL = getPosASLVisual player;</sqf>

Latest revision as of 07:46, 2 January 2026

Hover & click on the images for description

Description

Description:
Returns an object's rendered ASL position (z value above sea level) in render time scope.
Alias:
visiblePositionASL
Groups:
Object ManipulationRender Time Scope

Syntax

Syntax:
getPosASLVisual object
Parameters:
object: Object - name of the object
Return Value:
PositionASL

Examples

Example 1:
private _playerRenderedPosASL = getPosASLVisual player;

Additional Information

See also:
getPosVisual getPosATLVisual getPosWorldVisual visiblePositionASL visiblePosition position getPos getPosATL getPosASL getPosASLW

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note