Arma 3 Scripting

Function in Vehicles

BIS_fnc_returnVehicleTurrets

Also available as Markdown and JSON, or read the original wiki page.

Description

Return the path to all turrets and sub-turrets in a vehicle.

Note

Arma 3: Does not seem to work in Arma 3. Use allTurrets and BIS_fnc_allTurrets instead.

Syntax

[configEntry] call BIS_fnc_returnVehicleTurrets

Parameters:

Returns: Array - turret paths ([0], [0, 1] format)

Examples

Example 1

[configFile >> "CfgVehicles" >> "B_MBT_01_TUSK_F"] call BIS_fnc_returnVehicleTurrets;

See also

allTurrets · BIS_fnc_allTurrets