moveInTurret
Jump to navigation
Jump to search
soldier moveInTurret [vehicle, turret path]
Operand types:
soldier: Object
[vehicle, turret path]: Array
Type of returned value:
Compatibility:
Version 2.92 required.
Description:
Moves the soldier into the vehicle's turret. (Immediately, without animation).
Example:
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.