Skip to content
This repository has been archived by the owner on May 4, 2021. It is now read-only.

Commit

Permalink
Possible C130 Missing File Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SMVampire committed Feb 19, 2014
1 parent aebfb50 commit f800cd0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions DZMS/DZMSFunctions.sqf
Expand Up @@ -16,6 +16,8 @@ DZMSAIKilled = "\z\addons\dayz_server\DZMS\Scripts\DZMSAIKilled.sqf";
DZMSBoxSetup = "\z\addons\dayz_server\DZMS\Scripts\DZMSBox.sqf";
DZMSSaveVeh = "\z\addons\dayz_server\DZMS\Scripts\DZMSSaveToHive.sqf";

DZMSOpenRamp = "\z\addons\dayz_server\DZMS\Scripts\DZMSOpenRamp.sqf";

//Attempts to find a mission location
//If findSafePos fails it searches again until a position is found
//This fixes the issue with missions spawning in Novy Sobor on Chernarus
Expand Down
2 changes: 1 addition & 1 deletion DZMS/Missions/Major/EM1.sqf
Expand Up @@ -22,7 +22,7 @@ _wreck setDir -30.165445;
[_wreck] call DZMSProtectObj;

//Lets open it up
_wreck setVehicleInit "_nil = [this] execVM ""\z\addons\dayz_server\DZMS\Scripts\DZMSOpenRamp.sqf"";";
_wreck setVehicleInit "_nil = [this] execVM DZMSOpenRamp;";

//And lets keep people out
_wreck setHit ["motor", 1];
Expand Down
2 changes: 2 additions & 0 deletions DZMS/Scripts/DZMSOpenRamp.sqf
Expand Up @@ -4,6 +4,8 @@

_vcl = _this select 0;

if (!isKindOf "C130J") exitWith {};

_vcl animate ["ramp_top",1];
_vcl animate ["ramp_bottom",1];

Expand Down

0 comments on commit f800cd0

Please sign in to comment.