BIS fnc weaponAddon: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "|Game version=" to "|Game version= |gr1 = Ambient |GROUP1=") |
mNo edit summary |
||
Line 5: | Line 5: | ||
|1.00|Game version= | |1.00|Game version= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 34: | Line 32: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Functions|{{uc:ambientAnimCombat}}]] | [[Category:Functions|{{uc:ambientAnimCombat}}]] | ||
[[Category:{{Name|arma3}}: Functions|{{uc:ambientAnimCombat}}]] | [[Category:{{Name|arma3}}: Functions|{{uc:ambientAnimCombat}}]] |
Revision as of 15:33, 11 October 2020
Description
- Description:
- Return addon from CfgPatches to which a given weapon class belongs to.
- Execution:
- call
- Groups:
- Uncategorised
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
- See also:
- See also needed
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