fix intro

This commit is contained in:
Crom (Thibaut CHARLES) 2020-01-13 19:46:03 +01:00
parent fc8ae6f4dc
commit b454bbe44a
Signed by: tcharles
GPG Key ID: 45A3D5F880B9E6D0
1 changed files with 2 additions and 3 deletions

View File

@ -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 `<?xml version="1.0" encoding="utf-8"?>`
- 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 `<UIText />`
- 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