fix intro
This commit is contained in:
parent
fc8ae6f4dc
commit
b454bbe44a
@ -13,14 +13,13 @@ tags:
|
|||||||
|
|
||||||
# Language
|
# 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"?>`
|
- 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
|
- 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`
|
+ 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 />`
|
- 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 can be left unclosed
|
||||||
- The `UIScene` tag must never be closed
|
|
||||||
|
|
||||||
|
|
||||||
# Rules
|
# Rules
|
||||||
|
Loading…
Reference in New Issue
Block a user