I can't seem to find a way to respawn enemy aircraft after they get destroyed before takeoff and the pilot ejected so they are not technically dead but they are just stuck there.
I have a MIST respawn set up for the red aircraft that takes from an airbase. As I was testing the script, I noticed that if the red aircraft gets destroyed before they takeoff and the pilot happens to eject and stay alive they will remain there and don't despawn even if their plane is not usable anymore. Because they stay technically "Alive" I cant respawn them and they just block the runway from other units
MIST respawn script:
if not Group.getByName('Senaki-Kolkhi_Airfoce_Su-27') then
mist.respawnGroup('Senaki-Kolkhi_Airfoce_Su-27', true)
end