Website has another interesting script and I am presenting it here (quoting) with some slight modifications and additional stuff.


Ability for Engineers to disarm IEDs.

Explosive charge’s init --- limited to only Engineer class players.

this addAction ["Disarm C4","disarmC4.sqf",[this],1,false,true,"","typeOf _this == ""USMC_SoldierS_Engineer"""];


// Who's who...
_bomb = _this select 0;
_eod = _this select 1;

// "disarming" animation
_eod playMove "AinvPknlMstpSlayWrflDnon_medic";
sleep 3;
waitUntil {animationState _eod != "AmovPercMstpSnonWnonDnon_talking"};

sleep 2;
deletevehicle _bomb;
[[(side player),'HQ'],nil,rSIDECHAT,'Improvised explosive device has been disarmed. Good job, Over!'] call RE;