TimBob12 Posted March 16, 2011 Posted March 16, 2011 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
bead-v Posted March 16, 2011 Posted March 16, 2011 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"
Recommended Posts
Archived
This topic is now archived and is closed to further replies.