BIS_fnc_allTurrets

From Bohemia Interactive Community
Revision as of 16:24, 29 June 2017 by Killzone Kid (talk | contribs) (Created page with " {{Function|= Comments ____________________________________________________________________________________________ | arma3dev |= Game name |1.73|= Game version ____________...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Introduced with Arma 3 Development Branch version 1.731.73
Hover & click on the images for descriptions

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
See also:
allTurretsBIS_fnc_getTurrets
Groups:
Uncategorised

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Notes

Bottom Section