mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Compat RHS USAF - Fix CH-47 ramp actions (#7918)
This commit is contained in:
parent
38baa8dc6c
commit
e384666455
@ -139,16 +139,12 @@ class CfgVehicles {
|
|||||||
class Heli_Transport_02_base_F;
|
class Heli_Transport_02_base_F;
|
||||||
class RHS_CH_47F_base: Heli_Transport_02_base_F {
|
class RHS_CH_47F_base: Heli_Transport_02_base_F {
|
||||||
EGVAR(refuel,fuelCapacity) = 3914;
|
EGVAR(refuel,fuelCapacity) = 3914;
|
||||||
class UserActions;
|
|
||||||
};
|
|
||||||
|
|
||||||
class RHS_CH_47F: RHS_CH_47F_base {
|
|
||||||
EGVAR(fastroping,enabled) = 1;
|
EGVAR(fastroping,enabled) = 1;
|
||||||
EGVAR(fastroping,ropeOrigins)[] = {{0.5, -7.15, -0.95}, {-0.5, -7.15, -0.95}};
|
EGVAR(fastroping,ropeOrigins)[] = {{0.5, -7.15, -0.95}, {-0.5, -7.15, -0.95}};
|
||||||
EGVAR(fastroping,onCut) = QFUNC(onCut);
|
EGVAR(fastroping,onCut) = QFUNC(onCut);
|
||||||
EGVAR(fastroping,onPrepare) = QFUNC(onPrepare);
|
EGVAR(fastroping,onPrepare) = QFUNC(onPrepare);
|
||||||
|
|
||||||
class UserActions: UserActions {
|
class UserActions {
|
||||||
class OpenCargoDoor;
|
class OpenCargoDoor;
|
||||||
class CloseCargoDoor: OpenCargoDoor {
|
class CloseCargoDoor: OpenCargoDoor {
|
||||||
condition = QUOTE([ARR_2(this,'ramp_anim')] call FUNC(canCloseDoor));
|
condition = QUOTE([ARR_2(this,'ramp_anim')] call FUNC(canCloseDoor));
|
||||||
|
Loading…
Reference in New Issue
Block a user