{"name":"BIS_fnc_turretConfig","title":"BIS fnc turretConfig","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_turretConfig","revid":378551,"updated":"2026-05-05T15:09:52Z","groups":["Object Manipulation"],"status":"ok","games":{"arma3":"1.94"},"since":"arma3 1.94","arma3_since":"1.94","description":"Returns vehicle turret config for the turret given by the turret path.","syntaxes":[{"syntax":"[vehicle, turret] call BIS_fnc_turretConfig","params":[{"name":"vehicle","type":"Object or String","description":"vehicle or vehicle type","type_expr":"Object | String"},{"name":"turret","type":"Turret Path","type_expr":"Turret Path"}],"returns":{"type":"Config","type_expr":"Config","description":"turret config or configNull. Using `[-1]` for turret path returns vehicle config"}}],"examples":[{"code":["getNumber ([\"B_APC_Wheeled_01_cannon_F\", [0,0]] call BIS_fnc_turretConfig >> \"hasGunner\") > 0;"]},{"code":["getNumber ([car1, [-1]] call BIS_fnc_turretConfig >> \"hasDriver\") > 0;"]}],"see_also":["BIS_fnc_vehicleCrewTurrets","BIS_fnc_allTurrets"]}