Right now it just gives you back a strref for the first error it finds, or 0 if it compiled successfully. CScriptCompiler should be able to give a list of warnings as well. These needn't be TLK'd, but should have explicit IDs. Then nwn_script_comp can decide what to do with these based on its CLI flags.
Right now it just gives you back a strref for the first error it finds, or 0 if it compiled successfully. CScriptCompiler should be able to give a list of warnings as well. These needn't be TLK'd, but should have explicit IDs. Then nwn_script_comp can decide what to do with these based on its CLI flags.