Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

band aid for Taru helicopter not executing xeh init events #407

Merged
merged 1 commit into from
Jul 5, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions addons/xeh/CfgVehicles.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;};";
};
};
};
2 changes: 1 addition & 1 deletion addons/xeh/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down