getPosASLW: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|s([0-9])\= '''([^' ]+)'''([^ ]+) " to "|s$1= $2$3 ")
m (Text replacement - "<sqf>([^ ]+) <\/sqf>" to "<sqf>$1</sqf>")
 
(11 intermediate revisions by 2 users not shown)
Line 7: Line 7:
|gr1= Positions
|gr1= Positions


|descr= Returns the object position height above sea surface (waves included).
|descr= Returns the object position height above water surface (waves and pond objects included).


|s1= [[getPosASLW]] obj
|s1= [[getPosASLW]] obj
Line 13: Line 13:
|p1= obj: [[Object]]
|p1= obj: [[Object]]


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


|x1= <code>_pos = [[getPosASLW]] _diver;
|x1= <sqf>_pos = getPosASLW _diver;</sqf>
</code>


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

Latest revision as of 11:04, 13 May 2022

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:
Array - 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 or on the Forums.
Only post proven facts here! Add Note