permanently killable ships
So I'm trying to set it up so that there are specific named examples of ships, like the USS Razorback as a Federation ship. I see I can make the "named ship" as its own separate ship ID with the name replacing the generic type name. Thus, I can take an unassigned ship ID, copy the Federation Carrier to the ID, and change the name of the new ship from "Federation Carrier" to "USS Razorback". Here's where I run into problems.
Obviously its simple enough to assign a bit to determine if the USS Razorback is destroyed or not. I can arbitrarily assign b1000 to this (I have no idea if this bit is actually available and it doesn't matter for this example). I can't figure out how to make this work with a dude, but I could make the USS Razorback "fleet" consisting of the USS Razorback ship ID with no possible escorts. I can then set the "appear on" as b1000 where b1000 is a test to see if the ship has not been destroyed. What I can't figure out is how to make the game toggle the b1000 flag when it is destroyed.
Would I have to create an invisible mission for each named ship and set a flag to toggle the b1000 bit when the ship gets destroyed?