PDA

View Full Version : NSS Compile Problem


rgdelta
08-15-2005, 12:01 AM
I am trying to compile k_pebn_galaxy.nss and I get the following errors

'Star Wars: Knights of the Old Republic' Script Compiler/Decompiler
based on 'NeverWinter Nights' Script Compiler/Decompiler
Copyright 2002-2003, Edward T. Smith
Modified by Hazard (hazard_x@gmx.net)

Compiling: k_pebn_galaxy.nss
k_inc_ebonhawk.nss(209): Error: Function "EBO_PlayTakeOff"'s prototype doesn't m
atch the declaration
k_inc_ebonhawk.nss(211): Error: Undeclared identifier "nCurrentPlanet"
k_inc_ebonhawk.nss(240): Error: Return statement outside the scope of a function

k_inc_ebonhawk.nss(243): Error: Function "EBO_PlayLanding"'s prototype doesn't m
atch the declaration
k_inc_ebonhawk.nss(274): Error: Return statement outside the scope of a function

Compilation aborted with errors
Total Execution time = 251 ms

I tried with my modified and the original nss from the BIF and I have not edited any other scripts or the k_inc_ebonhawk.nss I am using the command
NWNNSSCOMP -co k_pebn_galaxy.nss. I even extracted the k_inc_ebonhawk.nss and same error anyone have any ideas.

I also get the errors when I use KT to compile via Project Manager.

Darth333
08-15-2005, 12:51 AM
Yes, there is a syntax error in k_inc_ebonhawk.nss ;)

check this tutorial: http://www.lucasforums.com/showthread.php?t=127001