Introduction
Every significant GUI in Neverwinter Nights 2 consists of a file in .xml format, which contains the code for the "Visual" part of GUI, and a number of NWScript scripts, which follow a specific naming convention and get executed by the specific events or actions on the XML GUI.
UI Objects
People who are familiar with files composed in .xml format might notice that NWN2's XML has certain differences from how XML files are traditionally composed.
Common Attributes
TODO
UIScene
TODO
UIPane
TODO
UIText
TODO
UIButton
TODO
UIIcon
TODO
UIGrid
TODO
UIListBox
TODO
UIFrame
TODO