getPosASLW: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3")
m (Text replacement - "<sqf>([^ ]+) <\/sqf>" to "<sqf>$1</sqf>")
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma3
|game1= arma3
|0.50
|version1= 0.50
|arg= global
|arg= global


|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


|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 12: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