setVehiclePosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Reset ArmA version)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Changes the object position. If the markers array contains more than one marker name, the position of a random one is used. Otherwise, the given position is used. The object is placed inside a circle with this position as its center and placement as its radius. |= Description
| Changes the object position.
 
If the markers array contains more than one marker name, the position of a random one is used. Otherwise, the given position is used.  
 
The object is placed inside a circle with this position as its center and placement as its radius. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 18:47, 11 October 2006

-wrong parameter ("Arma") defined!-2.32
Hover & click on the images for description

Description

Description:
Changes the object position. If the markers array contains more than one marker name, the position of a random one is used. Otherwise, the given position is used. The object is placed inside a circle with this position as its center and placement as its radius.
Groups:
Uncategorised

Syntax

Syntax:
object setVehiclePosition [position, markers, placement]
Parameters:
object: Object
[position, markers, placement]: Array
Return Value:
Nothing

Examples

Example 1:
player setVehiclePosition [[0, 0, 0], ["Marker1"], 0]

Additional Information

See also:
See also needed

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