setPosWorld: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(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]. |= Description
| Sets position of an object based on [[PositionWorld]], which is [[PositionASL]] of the model centre [0,0,0]. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


|object '''setPosWorld''' position |= Syntax
|object '''setPosWorld''' position |SYNTAX=
|p1 = object: [[Object]]
|p1 = object: [[Object]]
|p2 = position: [[PositionWorld]]  
|p2 = position: [[PositionWorld]]  
| [[Nothing]] |= Return value
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
|x1 = <code>_obj [[setPosWorld]] [[getPosWorld]] _obj;</code> |= Example1
|x1 = <code>_obj [[setPosWorld]] [[getPosWorld]] _obj;</code> |EXAMPLE1=






| [[getPosWorld]], [[setPos]], [[setPosATL]], [[setPosASL]], [[setPosASLW]], [[setMarkerPos]], [[setVehiclePosition]] |= See also
| [[getPosWorld]], [[setPos]], [[setPosATL]], [[setPosASL]], [[setPosASLW]], [[setMarkerPos]], [[setVehiclePosition]] |SEEALSO=


}}
}}

Revision as of 15:48, 7 April 2019

Hover & click on the images for description

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

See also:
getPosWorldsetPossetPosATLsetPosASLsetPosASLWsetMarkerPossetVehiclePosition

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

Notes

Bottom Section