CaveGnome wrote...
I tried to parse some Nwn system files searching the constants with no success, but i am not a master searcher / hacker ;-) and as i don't know of a script instruction returning the constant names it was difficult to experiment.
If you look to the right side of the script editor window, there's a searchable list of functions. Above it, there's a button to switch to constants. Click that, and you can see all constants available to your script.
Some constants are defined within include scripts, but the TILESET_RESREF_* group is globally available (i.e., it's defined in nwscript.nss and so can be accessed by any script without having to include any files).
Was hoping someone with better skills could verify them, if not, perhaps we should replace these names with "UNKNOWN" entrys.
The constants aren't unknown; there's just no constants matching those values. However, I'll add an addendum to the article noting the values referring to the tilesets not represented by constants.
Modifié par Squatting Monk, 19 octobre 2013 - 08:53 .