Jump to content

Home

Recruitment Problem


harIII

Recommended Posts

I tried to create the scripts to allow you to recruit somebody to replace T3-M4. My problem is that the script brings up the Party Selection menu but doesn't make the NPC part of your companions. Also if it makes a difference the recruitment happens before you receive T3-M4. Here are the scripts.

 

void main() {

RemoveAvailableNPC(7);

AddAvailableNPCByTemplate(7, "p_ernel");

DelayCommand(1.5,ShowPartySelectionGUI());

}

 

And the other one I treid

 

void main() {

AddAvailableNPCByTemplate(7, "p_ernel");

DelayCommand(1.5,ShowPartySelectionGUI());

}

 

I wasn't sure if it would matter if you had "RemoveAvailableNPC(7);" so I took it out in the second script.

Link to comment
Share on other sites

Try this one:

 

void main()
{
  RemoveAvailableNPC(7);
  AddAvailableNPCByTemplate(7, "p_ernel");
  ClearAllActions();
   DelayCommand(1.5,ShowPartySelectionGUI());
}

 

And yeah, the "RemoveAvailableNPC(7);" is important because that's the line that tells the game to get rid of your old party member to make room for the new one. ;)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...