setVehiclePosition: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{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= <pre>[[player]] setVehiclePosition [[0, 0, 0], ["Marker1"], 0]</pre> |= Example 1 | |||
____________________________________________________________________________________________ | |||
| |= See also | |||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- Note Section BEGIN --> | |||
<!-- Note Section END --> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
[[Category:Scripting Commands|SETVEHICLEPOSITION]] | |||
[[Category:Scripting Commands OFP Elite |SETVEHICLEPOSITION]] | |||
[[Category:Scripting Commands ArmA|SETVEHICLEPOSITION]] | |||
[[ |
Revision as of 23:36, 1 August 2006
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