BIS_fnc_returnVehicleTurrets

From Bohemia Interactive Community
Revision as of 14:54, 17 January 2021 by Lou Montana (talk | contribs) (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "")
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Return the path to all turrets and sub-turrets in a vehicle.
Arma 3
Does not seem to work in Arma 3. Use allTurrets and BIS_fnc_allTurrets instead
Execution:
call
Groups:
Vehicles

Syntax

Syntax:
[configEntry] call BIS_fnc_returnVehicleTurrets
Parameters:
configEntry: Config - vehicle config entry
Return Value:
Array - turret paths ([0], [0, 1] format)

Examples

Example 1:
[configFile >> "CfgVehicles" >> "B_MBT_01_TUSK_F"] call BIS_fnc_returnVehicleTurrets;

Additional Information

See also:
allTurretsBIS_fnc_allTurrets

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Bottom Section