Skip to content

Commit

Permalink
Merge pull request #174 from Vdauphin/FIX-suicider_explosion
Browse files Browse the repository at this point in the history
FIX: suicider explosion
  • Loading branch information
Vdauphin authored Jul 24, 2016
2 parents 4e7723b + 94acdcb commit c46447e
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ _suicider = _this getVariable "suicider";

_soundPath = [(str missionConfigFile), 0, -15] call BIS_fnc_trimString;
_soundToPlay = _soundPath + "core\sounds\allahu_akbar.ogg";
if (alive _suicider) then {
playSound3d [_soundToPlay, _suicider, false, (getPosASL _suicider), 10, 1,100];
sleep 1.4;
if (Alive _suicider && [_suicider] call ace_common_fnc_isAwake) then {
playSound3d [_soundToPlay, _suicider, false, getPosASL _suicider, 15, 1,100];
};
sleep 1.4;
if (Alive _suicider && [_suicider] call ace_common_fnc_isAwake) then {
{deleteVehicle _x;} forEach attachedObjects _suicider;
"Bo_GBU12_LGB_MI10" createVehicle getPos _suicider;
playSound3d["A3\Missions_F_EPA\data\sounds\combat_deafness.wss", _suicider, false, (getPosASL _suicider), 5, 1, 100];
Expand Down

0 comments on commit c46447e

Please sign in to comment.