This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
4rpl:commands:setunituitext [2024/02/16 01:29] – [Description] More accurate mention of format support. Vertu | 4rpl:commands:setunituitext [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 20: | Line 20: | ||
:NOTE:\\ | :NOTE:\\ | ||
- | Some formats are supported in the UI text such as < | + | Many formats are supported in the UI text such as < |
- | To create a line break, add a line break via pressing ENTER to create a new line (see 2nd example). <br>, \n, and [[4rpl: | + | Line break formats are one of the few which will fail. To create a line break, add a line break via pressing ENTER to create a new line (see 2nd example) or concat [[4rpl: |
+ | <br>, \n, and [[4rpl: | ||
===== Examples ===== | ===== Examples ===== | ||
<code 4rpl> | <code 4rpl> | ||
- | SetUnitUIText(self 0 " | + | SetUnitUIText(self 0 "< |
</ | </ | ||
<code 4rpl> | <code 4rpl> | ||
Line 30: | Line 31: | ||
New line text | New line text | ||
Third line text") | Third line text") | ||
+ | </ | ||
+ | <code 4rpl> | ||
+ | SetUnitUIText(self 0 Concat3(" | ||
</ | </ | ||
< | < | ||