Jump to content
Sign in to follow this  
froggyluv

How to Count Bomber Casualties?

Recommended Posts

 Have no idea how to combine Fired and Killed EH

 

 Fired:

 {  _x addEventHandler ["fired", {call fnc_demo}];  } forEach allUnits;   

 fnc_demo = {  
              
             _group = [player,d2,d3,d4,d5];
             _bomber = _this select 0;
             _ammo = _this select 5;
             _bomb = ["DemoCharge_Remote_Mag"];
 if  (_ammo in _bomb) then {  
                             hint format["%1 Satcheled!!", name _bomber];fired = true   
 


  };
      };

 Why'd I like to achieve is a count of casualties from one bomber but I cant get proper Ammo parameter from Killed EH only Killed/Killer so need to combine the 2 EH's somehow.
 

Share this post


Link to post
Share on other sites

 So apparently BI hasn't figured out (or tried) how to do this either as while peaking thru their vanilla DeathCam to see how they record 'Death by Explosion' it doesnt work. They use 'currentWeapon' but that doesn't register explosives at all and only fires in the the Fired EH when put. You can see that if you are killed by a charge it doesnt read that on the end screen but merely the weapon that enemy soldier is currently holding.

 

 There's got to be a way using setVariable/getVariable in the EH itself -but thats beyond me.... :P

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×