ACE3/docs/wiki/framework/common-framework.md
Drofseh 86f08af250
Common - Add keybind and function to unload unit's weapon/muzzle (#8735)
* add keybind and function to unload unit's weapon/muzzle

- add keybind and function to unload unit's weapon/muzzle
- requires https://github.com/CBATeam/CBA_A3/pull/1527

* change function name

* rename the file too

* Create common-framework.md

* Set REQUIRED_CBA_VERSION to 3.15.7

* Update required CBA version

Co-authored-by: PabstMirror <pabstmirror@gmail.com>

* Apply suggestions from code review

Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2022-05-18 13:07:47 -05:00

590 B

layout title description group order parent mod version
wiki Common Framework Notes on ACE3 Common. framework 5 wiki ace
major minor patch
3 14 2

1. Config Values

1.1 CfgWeapons

class CfgWeapons {
    class yourWeaponClass {
        ACE_unloadAction = "GestureUnloadMyWeaponClass"; // Animation to play when weapon is unloaded with ace_common_fnc_unloadUnitWeapon
        ACE_unloadSound = "A3\Sounds_F\arsenal\weapons\Rifles\Katiba\reload_Katiba.wss";  // Sound to play when weapon is unloaded with ace_common_fnc_unloadUnitWeapon
    };
};