{"name":"BIS_fnc_allTurrets","title":"BIS fnc allTurrets","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_allTurrets","revid":378550,"updated":"2026-05-05T15:09:23Z","groups":["Object Manipulation"],"status":"ok","games":{"arma3":"1.76"},"since":"arma3 1.76","arma3_since":"1.76","description":"Returns all vehicle turrets from config with options. Does what allTurrets command does, except the param is vehicle's config classname.","syntaxes":[{"syntax":"vehicleClass call BIS_fnc_allTurrets","params":[{"name":"vehicleClass","type":"String","description":"classname of the vehicle","type_expr":"String"}],"returns":{"type":"Array of Turret Paths","type_expr":"Array<Turret Path>"}},{"syntax":"[vehicleClass, personTurrets] call BIS_fnc_allTurrets","params":[{"name":"vehicleClass","type":"String","description":"classname of the vehicle","type_expr":"String"},{"name":"personTurrets","type":"Boolean","description":"true to include FFV (firing from vehicle) turrets, false to exclude them","type_expr":"Boolean"}],"returns":{"type":"Array of Turret Paths","type_expr":"Array<Turret Path>"}}],"examples":[{"code":["private _allTurrets = \"C_Offroad_01_F\" call BIS_fnc_allTurrets; // []"]},{"code":["private _allTurrets = [\"C_Offroad_01_F\", true] call BIS_fnc_allTurrets; // [[0],[1],[2],[3]]"]},{"code":["private _allTurrets = [\"C_Offroad_01_F\", false] call BIS_fnc_allTurrets; // []"]}],"see_also":["allTurrets","BIS_fnc_getTurrets","BIS_fnc_turretConfig","BIS_fnc_vehicleCrewTurrets"]}