Support for ScrapTransportHelicopterSuggestion

Just as it says, Currently I have Minicopters working on DeathNotes, pretty easy to add, however tried to do the same thing for Scrap Heli but keeps coming across as minicopters even when the death/spawn screen shows scraptransporthelicopter.

 

Not sure if anyone has found a fix or way to add this.

That's my approach:
            if (entity is MiniCopter)
				if (entity is ScrapTransportHelicopter)
					return CombatEntityType.ScrapTransportHelicopter;
				else
					return CombatEntityType.MiniCopter;

Every Scrapcopter is a Minicopter, but not every Minicopter is a Scrapcopter ;)

@chadomat - thank you that worked perfectly now. Was going crazy trying to figure out why it wasn't working lol. 

You wouldn't happen to know how we can add the CH47s kills would you? I can shoot them down and use rockets but cant get it to trigger. I have trierd to add the following and just doesn't popup still

if (entity is CH47Helicopter)
return CombatEntityType.CH47Scientists;

 

if (entity == null &&
combatEntityType != CombatEntityType.CargoPlane &&
combatEntityType != CombatEntityType.Helicopter &&
combatEntityType != CombatEntityType.CH47Scientists &&
combatEntityType != CombatEntityType.Bradley &&
combatEntityType != CombatEntityType.ScrapTransportHelicopter &&
combatEntityType != CombatEntityType.Minicopter)
return null;

 

 case CombatEntityType.CH47Scientists:
                    return "CH47";