Compat RHS USAF - Fix CH-47 ramp actions (#7918)

This commit is contained in:
Whigital 2020-09-29 19:04:25 +02:00 committed by GitHub
parent 38baa8dc6c
commit e384666455
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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));