setVehiclePosition

From Bohemia Interactive Community
Revision as of 00:05, 5 August 2006 by Hoz (talk | contribs)
Jump to navigation Jump to search

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