setPosASLW: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style='display:none'>Notes</h3> <dl class='command_description'> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> <h3 style='display:none'>Bottom Section</h3>" to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma3 |Game name=
| arma3


|0.50|Game version=]
|0.50|Game version=]


|arg= global |Multiplayer Arguments=
|arg= global


|eff= global |Multiplayer Effects=
|eff= global


|gr1= Positions |GROUP1=
|gr1= Positions


| Sets the object position above sea surface. The pos array uses the [[PositionASLW]] format.   |DESCRIPTION=
| Sets the object position above sea surface. The pos array uses the [[PositionASLW]] format.


| obj '''setPosASLW''' pos |SYNTAX=
| obj '''setPosASLW''' pos


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


|p2= pos: [[Array]] - format [[PositionASLW]] |PARAMETER2=
|p2= pos: [[Array]] - format [[PositionASLW]]


| [[Nothing]] |RETURNVALUE=
| [[Nothing]]




|x1= <code>_diver [[setPosASLW]] [([[position]] _diver) [[select]] 0, ([[position]] _diver) [[select]] 1, -10];
|x1= <code>_diver [[setPosASLW]] [([[position]] _diver) [[select]] 0, ([[position]] _diver) [[select]] 1, -10];
</code>|EXAMPLE1=
</code>




| [[getPosASLW]], [[setPosASL]], [[setPosATL]], [[setPos]], [[setPosWorld]] |SEEALSO=
| [[getPosASLW]], [[setPosASL]], [[setPosATL]], [[setPos]], [[setPosWorld]]


| |MPBEHAVIOUR=
|
}}
}}



Revision as of 11:11, 18 January 2021

Hover & click on the images for description

Description

Description:
Sets the object position above sea surface. The pos array uses the PositionASLW format.
Groups:
Positions

Syntax

Syntax:
obj setPosASLW pos
Parameters:
obj: Object
pos: Array - format PositionASLW
Return Value:
Nothing

Examples

Example 1:
_diver setPosASLW [(position _diver) select 0, (position _diver) select 1, -10];

Additional Information

See also:
getPosASLWsetPosASLsetPosATLsetPossetPosWorld

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