mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
86f08af250
* 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>
27 lines
590 B
Markdown
27 lines
590 B
Markdown
---
|
|
layout: wiki
|
|
title: Common Framework
|
|
description: Notes on ACE3 Common.
|
|
group: framework
|
|
order: 5
|
|
parent: wiki
|
|
mod: ace
|
|
version:
|
|
major: 3
|
|
minor: 14
|
|
patch: 2
|
|
---
|
|
|
|
## 1. Config Values
|
|
|
|
### 1.1 `CfgWeapons`
|
|
|
|
```cpp
|
|
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
|
|
};
|
|
};
|
|
```
|