setPosWorld: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(see also)
(positionWorld)
Line 11: Line 11:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Sets position of an object based on [[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: [[PositionASL]] of the model centre 
|p2 = position: [[PositionWorld]]  
| [[Nothing]] |= Return value
| [[Nothing]] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 15:50, 13 August 2015

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