BIS fnc turretConfig: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (formatting)
m (Text replacement - "\|game([0-9])=(.*) \|version([0-9])=(.*) " to "|game$1=$2 |version$3=$4 ")
Line 2: Line 2:


|game1= arma3
|game1= arma3
|version1= 1.94
|version1= 1.94



Revision as of 21:00, 9 June 2021

Hover & click on the images for description

Description

Description:
Returns vehicle turret config for the turret given by the turret path.
Execution:
call
Groups:
Object Manipulation

Syntax

Syntax:
[vehicle, turret] call BIS_fnc_turretConfig
Parameters:
vehicle: Object or String - Vehicle or vehicle type
turret: Array - Turret path
Return Value:
Return value needed

Examples

Example 1:
getNumber (["B_APC_Wheeled_01_cannon_F", [0,0]] call BIS_fnc_turretConfig >> "hasGunner") > 0;
Example 2:
getNumber ([car1, [-1]] call BIS_fnc_turretConfig >> "hasDriver") > 0;

Additional Information

See also:
BIS_fnc_vehicleCrewTurretsBIS_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