From b454bbe44af1527b61a20ed524b4debdf26e3069 Mon Sep 17 00:00:00 2001 From: "Crom (Thibaut CHARLES)" Date: Mon, 13 Jan 2020 19:46:03 +0100 Subject: [PATCH] fix intro --- nwn-2-gui-scripting.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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