Jump to content

Home

Is there a guide on how to make Recruit Mod?


Recommended Posts

Recruiting requires two lines of code. If you happened to read the thread that Darth333 linked to, you would see gameunlimited's example:

void main()
{
  RemoveAvailableNPC(7);
  AddAvailableNPCByTemplate(7, "p_yuthura");
}

The rest of it is stylistic. Obviously, it is the style that sets some recruitment mods apart from others.

Link to comment
Share on other sites

Yes, that script is what makes you recruit an npc but you still have to edit the utc file. I suggest you compare the utc file fro a recruitable mod (i.e. yuthura, dustil, bandon or malek) with the original utc file for the npc

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...