NWScript is the scripting language used to control behavior of objects, items, NPCs and other aspects of modules in NWN2. 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.

Pre-release notes[edit | edit source]

  • Obsidian has stated that NWN2 will include "a huge number of new functions with which you can do things completely impossible (or at the least extremely unwieldy) in NWN." [1]

NWScript Operators[edit | edit source]

Bitwise Math Operators

New NWScript functions announced[edit | edit source]

External links[edit | edit source]

See also[edit | edit source]

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