Trying to get a hud message to appear when an aircraft is destroyed but cant find the code to get a players name or the class he destroyed to display.
Tried a number of different ways to this but no joy .
Code:
public override void OnAircraftKilled(int missionNumber, string shortName, AiAircraft aircraft)
{
base.OnAircraftKilled(missionNumber, shortName, aircraft);
GamePlay.gpHUDLogCenter("?PlayerName? Destroyed + ?planeType?");
}
}
Is there a way to get this to display?
Regards
Punch