Recruitable NPC scripting Q's
I have an idea floating in my head right now for a new recruitable NPC. Nothing solid yet, but I have some questions about certain scripts.
For the purposes of this example, assume that HK-47 has been replaced, but we have not yet visited Tatooine.
On Tatooine, have the scripted exit occur when you leave the Ebon Hawk for the first time. My assumption is that it would be simplest to do this by unequipping anything that is equipped to my recruit, destroying him/her from the party table, and spawning him/her as an NPC to give the final dialog. Is this the easiest thing to do, or would there be an easier way? This way, I think, the Recruit would leave, even if they weren't in your current party. There might be an easier way.
Ok, going along with the same scenario as before, now assume that you killed Juhani in the grove. Since that is the case, the recruit could now have the option of staying with the party all the way to the end (might cause unknown issues on the Unknown World, I'm not sure) by moving from HK-47's spot to Juhani's spot. Again, I'm thinking it might be easier to remove them from the party, spawn the NPC, and recruit them again. Is this right?
Assuming the above scenario, does anyone know of anything that might cause issues? Such as, if you are Dark Side on the Temple? Just wondering for some base work on a larger project.