better fix for CH53 and add toggle for #1198

This commit is contained in:
icomrade
2016-05-03 11:14:26 -04:00
parent ea8c14c5fb
commit c2ce8aaf8b
5 changed files with 42 additions and 113 deletions

View File

@@ -6,7 +6,6 @@ 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};
@@ -31,6 +30,7 @@ class CH53_DZE : USEC_ch53_E {
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';";
init = "MonitorVM = [_this select 0] execvm '\usec_ch53\scripts\ch53_monitor.sqf';MonitorSFXVM = [_this select 0] execvm '\usec_ch53\scripts\ch53_monitorSFX.sqf';";
killed = "_this spawn BIS_Effects_EH_Killed;";
};
};