getPosASLW: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "(\| * )+\}\}" to "}}")
m (Text replacement - "<sqf>([^ ]+) <\/sqf>" to "<sqf>$1</sqf>")
 
(22 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command
{{RV|type=command


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


|gr1= Positions
|gr1= Positions


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


| '''getPosASLW''' obj
|s1= [[getPosASLW]] obj


|p1= obj: [[Object]]
|p1= obj: [[Object]]


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


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


|x1= <code>_pos = [[getPosASLW]] _diver;
|seealso= [[setPosASLW]] [[position]] [[getPos]] [[getPosATL]] [[getPosASL]] [[visiblePosition]] [[visiblePositionASL]]
</code>
 
 
| [[setPosASLW]], [[position]], [[getPos]], [[getPosATL]], [[getPosASL]], [[visiblePosition]], [[visiblePositionASL]]
 
}}
}}
{{GameCategory|arma3|New Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

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