getPosASLW: Difference between revisions

From Bohemia Interactive Community
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 13: Line 13:
|p1= obj: [[Object]]
|p1= obj: [[Object]]


|r1= [[Array]] - [[Position#PositionASLW|PositionASLW]]
|r1= [[Position#PositionASLW|PositionASLW]]


|x1= <sqf>_pos = getPosASLW _diver;
|x1= <sqf>_pos = getPosASLW _diver;</sqf>
</sqf>


|seealso= [[setPosASLW]] [[position]] [[getPos]] [[getPosATL]] [[getPosASL]] [[visiblePosition]] [[visiblePositionASL]]
|seealso= [[setPosASLW]] [[position]] [[getPos]] [[getPosATL]] [[getPosASL]] [[visiblePosition]] [[visiblePositionASL]]
}}
}}

Latest revision as of 03:42, 3 January 2026

Hover & click on the images for description

Description

Description:
Returns the object position height above water surface (waves and pond objects included).
Groups:
Positions

Syntax

Syntax:
getPosASLW obj
Parameters:
obj: Object
Return Value:
PositionASLW

Examples

Example 1:
_pos = getPosASLW _diver;

Additional Information

See also:
setPosASLW position getPos getPosATL getPosASL visiblePosition visiblePositionASL

Notes

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