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 notesEdit

  • 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 OperatorsEdit

Bitwise Math Operators

New NWScript functions announcedEdit

External linksEdit

See alsoEdit