NWScript is the scripting language used to control behavior of objects, items, NPCs and other aspects of modules in NWN. It is a functional programming language specific to the NWN game.

NWScript is based upon the C programming language and contains most of the C language syntax. NWScript does not support arrays, nor the Standard C library, such as printing to the screen, file I/O, nor system calls. These limitations are of little consequence to the NWN game, as an existing library of functions and functionality is provided with the game.

NWNWiki has its own resources devoted to providing public domain scripting: See the NWNWiki Rule Set for more information.

External resources

Community content is available under CC-BY-SA unless otherwise noted.