{"name":"unitTurret","title":"unitTurret","type":"command","url":"https://community.bistudio.com/wiki/unitTurret","revid":377504,"updated":"2026-01-02T06:49:34Z","groups":["Turrets"],"status":"ok","games":{"arma3":"2.00"},"since":"arma3 2.00","arma3_since":"2.00","description":"Returns the turret path the given vehicle's gunner is in.\nTo get the turret's unit see turretUnit.","syntaxes":[{"syntax":"vehicle unitTurret gunner","params":[{"name":"vehicle","type":"Object","type_expr":"Object"},{"name":"gunner","type":"Object","type_expr":"Object"}],"returns":{"type":"Turret Path","type_expr":"Turret Path","description":"- `[-1]` is returned if the gunner is also the driver. When no units are in any of vehicle's turret, empty array `[]` is returned.","text":"Turret Path\n- `[-1]` is returned if the gunner is also the driver.\nWhen no units are in any of vehicle's turret, empty array `[]` is returned."},"form":"binary","left":{"text":"vehicle"},"right":{"text":"gunner"}}],"examples":[{"code":["_vehicle unitTurret _gunner;"]},{"code":["vehicle player unitTurret player;"]}],"see_also":["turretUnit","driver","gunner","commander","effectiveCommander","currentPilot","moveInTurret","assignAsTurret","assignedVehicleRole","lockedTurret","isTurnedOut"]}