moveInTurret: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 2: | Line 2: | ||
[[Category:Scripting Commands ArmA|MOVEINTURRET]] | [[Category:Scripting Commands ArmA|MOVEINTURRET]] | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| arma |= Game name | |||
|2.92|= Game version | |||
____________________________________________________________________________________________ | |||
' | | Moves the soldier into the vehicle's turret. (Immediately, without animation). |= Description | ||
____________________________________________________________________________________________ | |||
''' | | soldier '''moveInTurret''' [vehicle, turret path] |= Syntax | ||
|p1= soldier: [[Object]] |= Parameter 1 | |||
|p2= [vehicle, turret path]: [[Array]] |= Parameter 2 | |||
[[Nothing]] | | [[Nothing]] |= Return value | ||
____________________________________________________________________________________________ | |||
|x1= <pre>soldierOne moveInTurret [tank, [0, 0]] | |||
turretPath [0,0] moves the soldier in the first turret of the first turret of a vehicle, [0, 2, 1] would move him to the second turret of the third turret of the first turret, [1] moves him to the second turret of a vehicle. Turret order has to be defined in the class [[CfgVehicles]] of the [[Config]].</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> | |||
Revision as of 23:35, 1 August 2006
Description
- Description:
- Moves the soldier into the vehicle's turret. (Immediately, without animation).
- Groups:
- Uncategorised
Syntax
- Syntax:
- soldier moveInTurret [vehicle, turret path]
- Parameters:
- soldier: Object
- [vehicle, turret path]: Array
- Return Value:
- Nothing
Examples
- Example 1:
soldierOne moveInTurret [tank, [0, 0]] turretPath [0,0] moves the soldier in the first turret of the first turret of a vehicle, [0, 2, 1] would move him to the second turret of the third turret of the first turret, [1] moves him to the second turret of a vehicle. Turret order has to be defined in the class [[CfgVehicles]] of the [[Config]].
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