mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
parachute framework
This commit is contained in:
parent
36f9ffd5dc
commit
cde5f28128
22
documentation/framework/parachute-framework.md
Normal file
22
documentation/framework/parachute-framework.md
Normal file
@ -0,0 +1,22 @@
|
||||
---
|
||||
layout: wiki
|
||||
title: Parachute framework
|
||||
description:
|
||||
group: framework
|
||||
order: 5
|
||||
parent: wiki
|
||||
---
|
||||
|
||||
## 1. Adding a reserve parachute to an existing parachute
|
||||
|
||||
```c++
|
||||
class CfgVehicles {
|
||||
|
||||
class banana_parachute; // your parachute base class
|
||||
|
||||
class banana_parachute_02: banana_parachute { // your parachute class
|
||||
ace_hasReserveParachute = 1; // 1 = enabled, 0 = disabled
|
||||
ace_reserveParachute = "ACE_ReserveParachute"; // classname of the reserve parachute
|
||||
};
|
||||
};
|
||||
```
|
Loading…
Reference in New Issue
Block a user