From b90951fd69e36954aab95aef35660686192ff8f9 Mon Sep 17 00:00:00 2001 From: commy2 Date: Tue, 5 Jul 2016 09:08:24 +0200 Subject: [PATCH] band aid for Taru helicopter not executing xeh init events --- addons/xeh/CfgVehicles.hpp | 11 +++++++++++ addons/xeh/config.cpp | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/addons/xeh/CfgVehicles.hpp b/addons/xeh/CfgVehicles.hpp index 10c690eea..01b75ad07 100644 --- a/addons/xeh/CfgVehicles.hpp +++ b/addons/xeh/CfgVehicles.hpp @@ -236,4 +236,15 @@ class CfgVehicles { class XEH_CLASS: DOUBLES(XEH_CLASS,base) {}; }; }; + + // Similar but different issue with the actual taru helicopter. only poking the "init" entry fixes it. cause unknown. + class Helicopter_Base_F; + class Helicopter_Base_H: Helicopter_Base_F { + class EventHandlers; + }; + class Heli_Transport_04_base_F: Helicopter_Base_H { + class EventHandlers: EventHandlers { + init = "if (local (_this select 0)) then {[(_this select 0), """", false, false] call bis_fnc_initVehicle;};"; + }; + }; }; diff --git a/addons/xeh/config.cpp b/addons/xeh/config.cpp index bc6cd1709..17f680fdd 100644 --- a/addons/xeh/config.cpp +++ b/addons/xeh/config.cpp @@ -7,7 +7,7 @@ class CfgPatches { url = "$STR_CBA_URL"; units[] = {}; weapons[] = {}; - requiredAddons[] = {"A3_Data_F","A3_Characters_F","A3_Air_F","A3_Armor_F","A3_Boat_F","A3_Soft_F"}; + requiredAddons[] = {"A3_Data_F","A3_Characters_F","A3_Air_F","A3_Armor_F","A3_Boat_F","A3_Soft_F","A3_Air_F_Heli_Heli_Transport_04"}; requiredVersion = 0.1; version = "4.0.0"; // Due to older mod versions requiring > 3,3,3 etc versionStr = "4.0.0";