2016-08-18 16:37:38 +00:00
|
|
|
---
|
|
|
|
layout: wiki
|
|
|
|
title: Reload Launchers Framework
|
|
|
|
description: Explains how to set-up launchers with ACE3 reload launchers system.
|
|
|
|
group: framework
|
|
|
|
order: 5
|
|
|
|
parent: wiki
|
2016-08-30 13:49:04 +00:00
|
|
|
mod: ace
|
|
|
|
version:
|
|
|
|
major: 3
|
|
|
|
minor: 0
|
|
|
|
patch: 0
|
2016-08-18 16:37:38 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
## 1. Adding third party reload
|
|
|
|
|
|
|
|
```cpp
|
|
|
|
class CfgWeapons {
|
|
|
|
class MyLauncher {
|
|
|
|
ace_reloadlaunchers_enabled = 1; // Allow your buddies to reload your launcher (0-disabled, 1-enabled)
|
|
|
|
};
|
|
|
|
};
|
|
|
|
```
|
|
|
|
|
|
|
|
## 2. Events
|
|
|
|
|
|
|
|
### 2.1 Listenable
|
|
|
|
|
|
|
|
Event Name | Description | Passed Parameter(s) | Locality
|
|
|
|
---------- | ----------- | ------------------- | --------
|
2017-06-08 19:31:27 +00:00
|
|
|
`ace_reloadlaunchers_reloadLauncher` | Launcher reloaded | `[_unit, _target, _weapon, _magazine]` | Target
|