I mean, look at the LD-29 mod. It can create wardroids which follow you. How does that work?
I'm unfamiliar with that mod, but I think I know how it was done. Was there a conversation option that "triggered" a war droid spawning? You could do something similar to this, with your mod. This is basically what you would have to do:
1. Edit the dialog, it could be pretty basic like, "I want you to call in <inserthere>". (Be sure to add the name of the script you're going to use under the script column)
2. Make the script to spawn the NPC, it should be like this:
void main()
{
CreateObject( OBJECT_TYPE_CREATURE,
"object_template", GetLocation(GetFirstPC()));
}
3. To make the NPC follow you around use the "The Fake Party Member" made by Dak Vesser, found here. (
http://lucasforums.com/showthread.php?t=152677)
One of the downsides to doing this is that the NPC will only follow you around in that module and you'll have to re-spawn him every time you leave a module. To recruit two NPCs at the same time follow D333 tutorial on recruiting NPCs, just add to extra lines in the dialog for the other scripts.
~Giygas