setPosWorld: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (positionWorld) |
m (template:command argument fix) |
||
Line 11: | Line 11: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| 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]. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|object '''setPosWorld''' position |= | |object '''setPosWorld''' position |SYNTAX= | ||
|p1 = object: [[Object]] | |p1 = object: [[Object]] | ||
|p2 = position: [[PositionWorld]] | |p2 = position: [[PositionWorld]] | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1 = <code>_obj [[setPosWorld]] [[getPosWorld]] _obj;</code> |= | |x1 = <code>_obj [[setPosWorld]] [[getPosWorld]] _obj;</code> |EXAMPLE1= | ||
| [[getPosWorld]], [[setPos]], [[setPosATL]], [[setPosASL]], [[setPosASLW]], [[setMarkerPos]], [[setVehiclePosition]] |= | | [[getPosWorld]], [[setPos]], [[setPosATL]], [[setPosASL]], [[setPosASLW]], [[setMarkerPos]], [[setVehiclePosition]] |SEEALSO= | ||
}} | }} |
Revision as of 14:48, 7 April 2019
Description
- Description:
- Sets position of an object based on PositionWorld, which is PositionASL of the model centre [0,0,0].
- Groups:
- Uncategorised
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