BIS_fnc_turretConfig

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 Development Branch version 1.93
  

Click on the images for descriptions

Introduced in

Game:
Arma 3 Development Branch
Version:
1.93

Description

Description:
Returns vehicle turret config for the turret given by the turret path. Using [-1] for turret path returns vehicle config.

Syntax

Syntax:
[vehicle, turret] call BIS_fnc_turretConfig
Parameters:
vehicle: Object or String - actual vehicle or vehicle type
turret: Array - turret path
Return Value:
Config - turret config or configNull

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

Execution:
call
Multiplayer:
-
See also:
BIS_fnc_vehicleCrewTurretsBIS_fnc_allTurrets

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