mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
Fix CH53 Destruction
Let me know if we can't duplicate the code from the CH53 addon in the file ch53_monitorSFX.sqf. If that's the case I will use an #include instead, since the code that kicks and kills players out of the vehicle goes at the bottom of the file anyway.
This commit is contained in:
@@ -6,6 +6,7 @@ class CH53_DZE : USEC_ch53_E {
|
||||
displaynameshort = "CH53_DZE";
|
||||
destrType = "DestructWreck";
|
||||
enablemanualfire = 0;
|
||||
secondaryExplosion = -1;
|
||||
crew = "";
|
||||
soundGetIn[] = {"\ca\Sounds\Air\Noises\heli_door_01",0.316228,1};
|
||||
soundGetOut[] = {"\ca\Sounds\Air\Noises\heli_door_01",0.316228,1,30};
|
||||
@@ -28,4 +29,8 @@ class CH53_DZE : USEC_ch53_E {
|
||||
transportMaxMagazines = 80;
|
||||
transportmaxbackpacks = 15;
|
||||
fuelCapacity = 3849;
|
||||
class eventhandlers {
|
||||
GetIn = "if ((_this select 2) == player) then {MonitorVM = [_this select 0] execvm '\usec_ch53\scripts\ch53_monitor.sqf';};";
|
||||
init = "MonitorVM = [_this select 0] execvm '\usec_ch53\scripts\ch53_monitor.sqf';MonitorSFXVM = [_this select 0] execvm '\z\addons\dayz_code\system\CH53\ch53_monitorSFX.sqf';";
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user