Jump to content

Home

recruitment in tsl script help


L0rdReV@n88

Recommended Posts

now im useing Darth333's great tutorial for recruit in 10 steps but its for the first kotor.

 

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

 

now as i understand it the 7 pertain to T3m4 party slot i need the number for g0t0 and the "p_dustil" will be changed to my recruitment character "p_DPlight" right?

is there a tutorial specific for recruitment in tsl? and if so you can you give me a link. thanks in advance.

Link to comment
Share on other sites

Off-topic : If it happened that you wished to take advantage out of existing Party Slots so as to reallocate them in favor or newly-devised Non-Playable Characters, then you should peruse the section of Star Wars™ : Knights of the Old Republic® - The Sith Lords' « nwscript.nss » file dedicated to the definition of essential Constants, which must be located at the top of this last Neverwinter Nights Source Script. Consequently, by proceeding this way, you should run into Constants bearing labels starting with the « NPC_ » expression, and that's where you will find out the numeric associated to G0T0...

Link to comment
Share on other sites

alright i opened nwscript.nss with KT and searched for g0t0 and found this

int NPC_PLAYER          =-1;
int NPC_ATTON           = 0;
int NPC_BAO_DUR         = 1;
int NPC_CANDEROUS       = 2;
int NPC_G0T0            = 3;
int NPC_HANDMAIDEN      = 4;
int NPC_HK_47           = 5;
int NPC_KREIA           = 6;
int NPC_MIRA            = 7;
int NPC_T3_M4           = 8;
int NPC_VISAS           = 9;
int NPC_HANHARR          = 10;
int NPC_DISCIPLE        = 11;

 

so instead of 7 i would use 3?correct

so the script would be

 

void main()
{
  RemoveAvailableNPC(3);
  AddAvailableNPCByTemplate(3, "p_DPlight");
  DelayCommand(1.5,ShowPartySelectionGUI());
}

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...