BIS fnc weaponAddon: Difference between revisions
Jump to navigation
Jump to search
(properly formatted the page) |
No edit summary |
||
Line 38: | Line 38: | ||
[[Category:Functions|{{uc:ambientAnimCombat}}]] | [[Category:Functions|{{uc:ambientAnimCombat}}]] | ||
[[Category:{{Name|arma3}}: Functions|{{uc:ambientAnimCombat}}]] | [[Category:{{Name|arma3}}: Functions|{{uc:ambientAnimCombat}}]] | ||
Revision as of 09:29, 30 July 2016
Description
- Description:
- Return addon from CfgPatches to which a given weapon class belongs to. Template:note
- 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