Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

Recruitment troubles

Page: 1 of 1
 JebusJM
05-11-2011, 7:10 AM
#1
It's been a while since I did a custom recruitment, so bear with me. I'm using three scripts in one .dlg file (one that removes Canderous from the party/party screen, one to recruit the NPC and one to "eliminate twins"). As far as I know, only the eliminate twins works. The NPC disappears, the party selection pops up but Canderous is blacked out and wont let me choose to recruit my NPC.

Scripts I'm using:

Removing Canderous:

void main()
{
RemoveAvailableNPC(1);
}

Recruit the NPC:

void main()
{
AddAvailableNPCByTemplate(7, "recruit_belcamer");
DelayCommand(1.5,ShowPartySelectionGUI());
}

And:

Eliminate twins:

void main()
{
ActionPauseConversation();
object oGoodbye;
oGoodbye = GetObjectByTag("Cand");
SetGlobalFadeOut(1.0, 0.5);
DelayCommand(1.0, DestroyObject(oGoodbye));
DelayCommand(1.0,SetGlobalFadeIn(0.7,0.0));
ActionResumeConversation();
}

Any help would be great.

Thanks.
 Ferc Kast
05-11-2011, 8:56 AM
#2
It's been a while since I did a custom recruitment, so bear with me. I'm using three scripts in one .dlg file (one that removes Canderous from the party/party screen, one to recruit the NPC and one to "eliminate twins"). As far as I know, only the eliminate twins works. The NPC disappears, the party selection pops up but Canderous is blacked out and wont let me choose to recruit my NPC.

Any help would be great.

Thanks.

The problem with the scripts is that you told the game to remove Canderous from the party; But, then, you told it to replace T3 with your custom NPC. :) So, all you should need to do is replace 7 in the second script with 1. Hope that helps.
 JebusJM
05-11-2011, 9:24 AM
#3
Thanks, I tried that. But unfortunately for me, it doesn't work. It still goes to the screen and everyone is black. Any other ideas mate?

:EDIT: I don't know what I did differently, but I got it to work. Thanks for your help mate, really appreciate it.
Page: 1 of 1