mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
reloadlaunchers framework
This commit is contained in:
parent
cde5f28128
commit
62f20f5756
21
documentation/framework/reloadlaunchers-framework.md
Normal file
21
documentation/framework/reloadlaunchers-framework.md
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
---
|
||||||
|
layout: wiki
|
||||||
|
title: reloadlaunchers framework
|
||||||
|
description:
|
||||||
|
group: framework
|
||||||
|
order: 5
|
||||||
|
parent: wiki
|
||||||
|
---
|
||||||
|
|
||||||
|
## 1. Adding third party reload
|
||||||
|
|
||||||
|
```c++
|
||||||
|
class CfgWeapons {
|
||||||
|
|
||||||
|
class Launcher_Base_F; // launcher base class
|
||||||
|
|
||||||
|
class yourlauncher: Launcher_Base_F { // launcher class
|
||||||
|
ACE_reloadlaunchers_enabled = 1; // enable third party reload (your buddies reloading for you)
|
||||||
|
};
|
||||||
|
};
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user