BIS_fnc_allTurrets

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 1.76
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.76

Description

Description:
Returns all vehicle turrets from config with options. Does what allTurrets command does, except the param is vehicle's config class name

Syntax

Syntax:
vehicleClass call BIS_fnc_allTurrets
Parameters:
vehicleClass: String - Classname of the vehicle
Return Value:
Array - Array of turret paths

Alternative Syntax

Syntax:
[vehicleClass, personTurrets] call BIS_fnc_allTurrets
Parameters:
vehicleClass: String - Classname of the vehicle
personTurrets: Boolean
  • true - include person (cargo) FFV (firing from vehicle) turrets
  • false - exclude person (cargo) FFV turrets
Return Value:
Array

Examples

Example 1:
_allTurrets = "C_Offroad_01_F" call BIS_fnc_allTurrets; // []
Example 2:
_allTurrets = ["C_Offroad_01_F", true] call BIS_fnc_allTurrets; // [[0],[1],[2],[3]]
Example 3:
_allTurrets = ["C_Offroad_01_F", false] call BIS_fnc_allTurrets; // []

Additional Information

Execution:
call
Multiplayer:
-
See also:
allTurretsBIS_fnc_getTurrets

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section