setPosASLW: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "<h3 style='display:none'>Notes</h3> <dl class='command_description'> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> <h3 style='display:none'>Bottom Section</h3>" to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma3 | | arma3 | ||
|0.50|Game version=] | |0.50|Game version=] | ||
|arg= global | |arg= global | ||
|eff= global | |eff= global | ||
|gr1= Positions | |gr1= Positions | ||
| Sets the object position above sea surface. The pos array uses the [[PositionASLW]] format. | | Sets the object position above sea surface. The pos array uses the [[PositionASLW]] format. | ||
| obj '''setPosASLW''' pos | | obj '''setPosASLW''' pos | ||
|p1= obj: [[Object]] | |p1= obj: [[Object]] | ||
|p2= pos: [[Array]] - format [[PositionASLW]] | |p2= pos: [[Array]] - format [[PositionASLW]] | ||
| [[Nothing]] | | [[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> | ||
| [[getPosASLW]], [[setPosASL]], [[setPosATL]], [[setPos]], [[setPosWorld]] | | [[getPosASLW]], [[setPosASL]], [[setPosATL]], [[setPos]], [[setPosWorld]] | ||
| | | | ||
}} | }} | ||
Revision as of 11:11, 18 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