setPosASLW: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\{\{GameCategory\|(arma[0123])\|[ _]?New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}") |
Lou Montana (talk | contribs) 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 02:31, 17 January 2021
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
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