Kill and eject player when their vehicle explodes

Previous changes to the destruction effects file broke previous fixes
that resolved the world is on fire glitch. I reverted those in this
commit.

Note: the CH53 is still broken in this commit
This commit is contained in:
icomrade
2016-04-26 14:47:52 -04:00
parent 16c81e7ce2
commit ec7351dbbc
4 changed files with 17 additions and 12 deletions

View File

@@ -21,7 +21,7 @@ while {_int>1} do
};
{
uiSleep _x;
sleep _x;
if((_lifecheck&&(alive _v))||(isnull _v)||(((getposASL _v)select 2)<0))exitwith{};
"SmallSecondary" createvehicle(_v modelToWorld _effect2pos);
createVehicle ["SmallSecondary", (_v modelToWorld _effect2pos), [], 0, "CAN_COLLIDE"];
}foreach(_list);