I can't seem to find a way to fudge the disappearance of an NPC, Group or Contact. Any help?
I want to have a non-aggressive version of an NPC get replaced with an aggressive version at one point during my script. Since you can't change the aggro flag on NPCs, I intended to perform a hot swap of two separate NPCs wearing the same costume. But I can't make the non-aggro one disappear.
One possible work-around, in space only, is to use "detail objects" of ship types that exist as potential combat units as well. For instance, a Miranda, or a borg cube. Dialog could be done with popups or tied to local triggers. The "object" can be removed and replaced with either an NPC-Contact or a combat unit.
While you can't make a contact disappear, you can box in a hostile npc with invisible walls. They won't try to attack through invisible walls. Try building a box around the hostile version of the npc, then set up a trigger to make those walls disappear when you want them to attack.