Well, while modding in TSL, I found a minor flaw in the following script I made: the party selection screen doesn't show up regardless of how I've changed that part of the script. Any help would be appreciated.
Code:
// recruit.nss
// Created by Ferc Kast
void RecruitA(int iNPC, string sResRef, string sExit, int iForce)
{
int iNPC;
string sResRef;
string sExit;
int iForce;
RemoveAvailableNPC(iNPC);
AddAvailableNPCByTemplate(iNPC, sResRef);
if ( iForce == TRUE )
{
DelayCommand(1.5,ShowPartySelectionGUI(sExit, iNPC));
}
else if ( iForce == FALSE )
{
DelayCommand(1.5,ShowPartySelectionGUI(sExit));
}
}
void RecruitB(string sTag)
{
string sTag;
object oNPC = GetObjectByTag(sTag);
ActionPauseConversation();
SetGlobalFadeOut(1.0, 0.5);
DelayCommand(1.0, DestroyObject(oNPC));
DelayCommand(1.0,SetGlobalFadeIn(0.7,0.0));
ActionResumeConversation();
}