dandroid91 wrote...
Hello,
I was wondering if it is possible to use non nwnscript libraries when writing nwn script code and perhaps call functions defined in another language from within nwnScript. I was interested in writing a specific game component that I want to reuse for multiple games and was interested in whether I could test it with a neverwinter nights module without haing to write it in nwnscript.
If nwn does not support this, is there any other toolset of some other bioware game that supports it?
In case i do decide to just rewrite that component in a specific scripting language, which of the rpg toolsets is the most potent? (I am interested in nwn 1, nwn 2, dragon age, kotor pretty much any of their rpgs)
I apologize, I have no knowledge at this point of modding any of their games, I just wanted some information from some experienced users so that i know whether these games are appropriate for what i need.
Thank you for your help.
In point of fact, this is exactly what some nwnx plugins, like NWNX_letoscript, do. They pass information by hooking local strings. Code written in letoscript is set in strings in nwnscript, and passed on to the editor when the character logs out. You can't compile it in this form, but you can certainly write it. Unless you have a very specific reason for doing this, however, as dragonsong did with letoscript, this is really not a good way to do things.
Funky