setPosASLW: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| arma3 | |game1= arma3 | ||
|version1= 0.50 | |||
|0.50 | |||
|arg= global | |arg= global | ||
Line 13: | Line 12: | ||
|descr= Sets the object position above sea surface. The pos array uses the [[PositionASLW]] format. | |descr= Sets the object position above sea surface. The pos array uses the [[PositionASLW]] format. | ||
|s1= | |s1= obj [[setPosASLW]] pos | ||
|p1= obj: [[Object]] | |p1= obj: [[Object]] | ||
Line 21: | Line 20: | ||
|r1= [[Nothing]] | |r1= [[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> | ||
</code> | |||
|seealso= [[getPosASLW]], [[setPosASL]], [[setPosATL]], [[setPos]], [[setPosWorld]] | |seealso= [[getPosASLW]], [[setPosASL]], [[setPosATL]], [[setPos]], [[setPosWorld]] | ||
}} | }} |
Revision as of 08:44, 14 June 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