setPosASLW: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)\]\]" to "{{GameCategory|arma3|Scripting Commands}}") |
BrettMayson (talk | contribs) mNo edit summary |
||
(26 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
| arma3 | | |game1= arma3 | ||
|version1= 0.50 | |||
| | |arg= global | ||
| | |eff= global | ||
| | |gr1= Positions | ||
| | |descr= Sets the object position above sea surface. The pos array uses the [[Position#PositionASLW|PositionASLW]] format. | ||
| | |s1= obj [[setPosASLW]] pos | ||
| obj | |p1= obj: [[Object]] | ||
| | |p2= pos: [[Array]] format [[Position#PositionASLW|PositionASLW]] | ||
| | |r1= [[Nothing]] | ||
| [ | |x1= <sqf>_diver setPosASLW [(position _diver) select 0, (position _diver) select 1, -10];</sqf> | ||
|seealso= [[getPosASLW]] [[setPosASL]] [[setPosATL]] [[setPos]] [[setPosWorld]] | |||
| | |||
}} | }} | ||
Latest revision as of 21:34, 28 September 2023
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:
Additional Information
- See also:
- getPosASLW setPosASL setPosATL setPos setPosWorld
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