setPosASLW: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (see also, locality) |
m (template:command argument fix) |
||
Line 16: | Line 16: | ||
| obj '''setPosASLW''' pos |= Syntax | | obj '''setPosASLW''' pos |= Syntax | ||
|p1= obj: [[Object]] |= | |p1= obj: [[Object]] |PARAMETER1= | ||
|p2= pos: [[Array]] - format [[PositionASLW]] |= | |p2= pos: [[Array]] - format [[PositionASLW]] |PARAMETER2= | ||
| [[Nothing]] |= | | [[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>|= | </code>|EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[getPosASLW]], [[setPosASL]], [[setPosATL]], [[setPos]], [[setPosWorld]] |= | | [[getPosASLW]], [[setPosASL]], [[setPosATL]], [[setPos]], [[setPosWorld]] |SEEALSO= | ||
| |= | | |MPBEHAVIOUR= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 10:37, 7 April 2019
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
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