Is it quite common for NWN toolset to pick up annoying compiling errors in the script that make no sense?
For example. This.
Code:
sVarName = "MK_DISABLE_CRAFT_" + MK_IntToString(i, 2, "0");
It comes up with
mk_cond_09.nss(42): ERROR: NO SEMICOLON AFTER EXPRESSION
Now, either I'm going blind, or NWN is playing the dumbshit. As I swear there is a semi-colon after that expression. Furthermore, when I switch it around like so
Code:
sVarName = "MK_DISABLE_CRAFT_";
sVarName = "MK_IntToString(i, 2, "0")";
It still wants a freakin' Semi-Colon on the end of MK_IntToString(i, 2, "0"), despite one already being there.
MK_IntToString(i,2,"0") is a required piece of code that I can't get rid of without screwing the entire system I'm editing.
Any idea's? Is NWN Toolset just bonkers or am I missing something here?