BIS_fnc_weaponAddon

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.00

Description

Description:
Return addon from CfgPatches to which a given weapon class belongs to.
This function is quite performance heavy, use only when absolutely necessary!

Syntax

Syntax:
Classname call BIS_fnc_weaponAddon;
Parameters:
Classname String - Weapon's classname
Return Value:
String - Config name of the addon

Examples

Example 1:
"arifle_MX_F" call BIS_fnc_weaponAddon;//Returns "A3_Weapons_F_Rifles_MX"

Additional Information

Execution:
call
Multiplayer:
-
See also:
See also needed

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

Notes

Bottom Section