View previous topic :: View next topic |
Author |
Message |
rodkinnison
Joined: 31 May 2010 Posts: 1
|
Posted: Mon May 31, 2010 20:40 Post subject: Calling shell commands from within NWscript environment? |
|
|
I'm still coming up the learning curve on scripting and NWNX. Is there any way for a NWScript command through NWNX to execute a command *outside* the game environment, such as a shell script?
That would allow one, for example, to swap out .bic files or other measures for which there are not IG hooks.
What I am looking for initially are ways to modify normally "unmodifiable" character traits, like race and hairstyle, from an IG hook like a spell or an area script. |
|
Back to top |
|
|
Terra_777
Joined: 27 Jun 2008 Posts: 216 Location: Sweden
|
Posted: Mon May 31, 2010 20:58 Post subject: |
|
|
I think you could pass parameters from nwscript though nwnx to ShellExecute to execute stuff outside of the nwn environment.
Its just an almost educated guess though. _________________ I dun have any signature, I'm happy anyway. |
|
Back to top |
|
|
Electrocutor
Joined: 06 Feb 2010 Posts: 1
|
|
Back to top |
|
|
|