setVehiclePosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 19: Line 19:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>[[player]] setVehiclePosition [[0, 0, 0], ["Marker1"], 0]</pre> |= Example 1
|x1= <code>[[player]] '''setVehiclePosition''' [[0, 0, 0], ["Marker1"], 0]</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 01:05, 5 August 2006

{{Command|= Comments ____________________________________________________________________________________________

| arma |= Game name

|2.32|= Game version ____________________________________________________________________________________________

| 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 ____________________________________________________________________________________________

| object setVehiclePosition [position, markers, placement] |= Syntax

|p1= object: Object |= Parameter 1

|p2= [position, markers, placement]: Array |= Parameter 2

| Nothing |= Return value ____________________________________________________________________________________________

|x1= player setVehiclePosition [[0, 0, 0], ["Marker1"], 0] |= Example 1 ____________________________________________________________________________________________

| |= See also

}}

Notes

Bottom Section