setPosWorld: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "<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 | ||
|1.32 | |1.32 | ||
|arg= global | |arg= global | ||
|eff= global | |eff= global | ||
|gr1= Positions | |gr1= Positions | ||
| Sets position of an object based on [[PositionWorld]], which is [[PositionASL]] of the model centre [0,0,0]. | | Sets position of an object based on [[PositionWorld]], which is [[PositionASL]] of the model centre [0,0,0]. | ||
|object '''setPosWorld''' position | |object '''setPosWorld''' position | ||
|p1 = object: [[Object]] | |p1 = object: [[Object]] | ||
|p2 = position: [[PositionWorld]] | |p2 = position: [[PositionWorld]] | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1 = <code>_obj [[setPosWorld]] [[getPosWorld]] _obj;</code> | |x1 = <code>_obj [[setPosWorld]] [[getPosWorld]] _obj;</code> | ||
| [[getPosWorld]], [[setPos]], [[setPosATL]], [[setPosASL]], [[setPosASLW]], [[setMarkerPos]], [[setVehiclePosition]] | | [[getPosWorld]], [[setPos]], [[setPosATL]], [[setPosASL]], [[setPosASLW]], [[setMarkerPos]], [[setVehiclePosition]] | ||
}} | }} |
Revision as of 11:10, 18 January 2021
Description
- Description:
- Sets position of an object based on PositionWorld, which is PositionASL of the model centre [0,0,0].
- Groups:
- Positions
Syntax
- Syntax:
- object setPosWorld position
- Parameters:
- object: Object
- position: PositionWorld
- Return Value:
- Nothing
Examples
- Example 1:
_obj setPosWorld getPosWorld _obj;
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