Jump to content

Home

Recruitment troubles


JebusJM

Recommended Posts

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...