NWScript is the scripting language used to control behavior of objects, items, NPCs and other aspects of modules in NWN. It is a 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 provides several resources for those looking for pre-written scripts. These include the Neverwinter Script directory and the Open Source Rule Set.

See also: Category:NWScript, Category:Commands

External resources[edit | edit source]

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