moveInTurret – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<!-- Note Section [A-Z]+ --> " to "")
m (Text replacement - "<code>" to "<code style="display: block">")
 
Line 11: Line 11:
Boat1 is an "RHIB 2 Turrets"
Boat1 is an "RHIB 2 Turrets"


<code>Soldier moveInTurret [Boat1,[0]]</code>
<code style="display: block">Soldier moveInTurret [Boat1,[0]]</code>


result : Soldier will mount into the front turret of the boat
result : Soldier will mount into the front turret of the boat


<code>Soldier moveInTurret [Boat1,[1]]</code>
<code style="display: block">Soldier moveInTurret [Boat1,[1]]</code>


result : Soldier will mount into the Back turret of the boat</dl>
result : Soldier will mount into the Back turret of the boat</dl>

Latest revision as of 11:52, 11 January 2023

This one could deserve a major information upgrade, i.e. exact information about vehicles' possible turret positions. If anyone feels up to it, feel welcome to add it here or in a seperate article (I wouldn't recommend to add it to CfgVehicles though). -- Manny 14:32, 4 March 2007 (CET)

TurretPath [0,0] moves the soldier in the first turret of the first turret of a vehicle.
TurretPath [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.
here 2 examples : Boat1 is an "RHIB 2 Turrets" Soldier moveInTurret [Boat1,[0]] result : Soldier will mount into the front turret of the boat Soldier moveInTurret [Boat1,[1]] result : Soldier will mount into the Back turret of the boat