setPosASLW: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{GameCategory\|(arma[0123])\|[ _]?New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 11: Line 10:


|gr1= Positions |GROUP1=
|gr1= Positions |GROUP1=
____________________________________________________________________________________________


| 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.  |DESCRIPTION=
____________________________________________________________________________________________


| obj '''setPosASLW''' pos |SYNTAX=
| obj '''setPosASLW''' pos |SYNTAX=
Line 28: Line 25:
</code>|EXAMPLE1=  
</code>|EXAMPLE1=  


____________________________________________________________________________________________


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


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
}}
}}



Revision as of 03:31, 17 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

Notes

Bottom Section