This looks like a giant hack. I assume it's so you don't fail victory conditions when you infiltrate a target structure?
That would be better handled by having an infiltration action that can be hooked by the mission script, to disable the fail condition or do whatever else is necessary before destroying the actor.