Page 1 of 1

Compile Error

Posted: Sat Jan 12, 2008 6:56 pm
by Wynna
Moved from the Toolset Forum:

When I try to compile a Creature OnSpawn script that used to work, I get an error in x0_inc_generic, line 480. It's a one command script, the sum total of it shown in the image below. The only way I can get it to compile is to take out the lines:

#include "acr_creature_i"
ACR_CreatureOnSpawnIn();

Since posting this in the Toolset Forum, I've discovered that I get the same compile error when trying to compile a script with the #include "acr_tools_i in it.

<a href="http://imageshack.us"><img src="http://img153.imageshack.us/img153/3316 ... roraz0.jpg" border="0" alt="Image Hosted by ImageShack.us"></a><br>

Posted: Tue Jan 15, 2008 11:21 pm
by ç i p h é r
Do you have a custom version of that script anywhere in your module or in a HAK?

What about nwscript.nss? Having an outdated nwscript.nss file somewhere in your module might cause that.

Just a thought.

Posted: Wed Jan 16, 2008 12:38 am
by Wynna
Sorry, should have posted this as resolved. Your thought was exactly right. AL found three NW scripts that had snuck in with an include in a careless erf. All taken care of!

Posted: Thu Jan 17, 2008 12:32 am
by ç i p h é r
I should have figured....you posted that 3 days ago! :duh: