setPosASLW: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(see also, locality)
m (template:command argument fix)
Line 16: Line 16:
| obj '''setPosASLW''' pos |= Syntax
| obj '''setPosASLW''' pos |= Syntax


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


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


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




|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>|EXAMPLE1=  


____________________________________________________________________________________________
____________________________________________________________________________________________


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


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

Revision as of 10:37, 7 April 2019

Hover & click on the images for description

Description

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

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