diff --git a/nwn-2-gui-scripting.md b/nwn-2-gui-scripting.md index 741f9e2..f76572b 100644 --- a/nwn-2-gui-scripting.md +++ b/nwn-2-gui-scripting.md @@ -13,14 +13,13 @@ tags: # Language -The GUI are written in a non standard form of XML. +The GUI are written in a superset of the standard XML. - The first line must be something like `` - Attributes values can be delimited by `'`, `"` or if not delemited ends with a space + Example: this does not work: `OnLeftClick=UIObject_Misc_ExecuteServerScript("gui_myscript","Hello World")` because OnLeftClick value has no delimiter and will end after `Hello` - Auto-closing tags are accepted `` -- If you repeat an attribute twice inside the same XML tag, the GUI will not load -- The `UIScene` tag must never be closed +- The `UIScene` tag can be left unclosed # Rules