Jump to content

Home

Include Files


TimBob12

Recommended Posts

Posted

Hi there,

I have created a new include file but whenever I try to use it just says unable to find include file. I have put the file in the same place as nwnscomp.exe.

 

Here is my code:

 

#include "populate"

int main() { 

  string first = "NPC1";
  string second = "NPC2";
  string third = "NPC3";

  Populate(10, first, second, third);

  return 0;
}

 

Im stuck and can't find anything about this anywhere.

 

Thanks

 

TB12

Posted

You have to put the include file in the override, then compile the script that uses the include.

 

Also, you include the file by typing the full name of the file:

#include "populate.nss"

Archived

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

×
×
  • Create New...