View Single Post
Old 04-29-2011, 04:21 PM   #1
JoFlashStudios
Rookie
 
JoFlashStudios's Avatar
 
Join Date: Dec 2010
Location: Star Forge
Posts: 54
Current Game: KotOR
Unhappy Nwnsscomp Output Issue

I'm having a problem with NWnsscomp, and I'm wondering if it's just me. What happens is this:

Regardless if I'm using KotOR Tool or using NWnsscomp directly from the command line, for certain scripts, it claims that it has compiled without any errors, but no output file is generated. It's seemingly random, except that once a given script file decides not to compile, I can rename, move, or even copy the text into an entirely new script, and it still won't generate any output. This makes me think that it has something to do with the text of the script itself. However, I haven't found any common denominator, such as a certain type of expression or a certain function call that is present in all failed files. From little three line scripts such as:
Code:
void Main()
{
object oPC = GetFirstPC();
object myrobes = CreateItemOnObject("jf_missionsrobe", oPC);
ActionEquipItem(myrobes, INVENTORY_SLOT_BODY, TRUE);
}
To an unmodified copy of k_inc_force.nss - they compile, but there's no output.

Anybody got any idea what's going on?
JoFlashStudios is offline   you may: quote & reply,