User Tools

Site Tools


4rpl:commands:setunituitext

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
4rpl:commands:setunituitext [2024/04/13 14:35] – [Description] Fix this Vertu4rpl:commands:setunituitext [2024/04/13 14:37] Grabz
Line 20: Line 20:
  
 :NOTE:\\ :NOTE:\\
-Some formats are supported in the UI text such as <color> though will only work if closed.\\+Some formats are supported in the UI text such as <nowiki><color></nowiki> though will only work if closed.\\
 To create a line break, add a line break via pressing ENTER to create a new line (see 2nd example) or concat [[4rpl:commands:lf|LF]] (3rd example).\\ To create a line break, add a line break via pressing ENTER to create a new line (see 2nd example) or concat [[4rpl:commands:lf|LF]] (3rd example).\\
 <br>, \n, and [[4rpl:commands:cr|CR]] will fail to create a line break.\\ <br>, \n, and [[4rpl:commands:cr|CR]] will fail to create a line break.\\
 ===== Examples ===== ===== Examples =====
 <code 4rpl> <code 4rpl>
-SetUnitUIText(self 0 "<nowiki><color=#FFFF00></nowiki>Sample Colored Text</color>")+SetUnitUIText(self 0 "<color=#FFFF00>Sample Colored Text</color>")
 </code> </code>
 <code 4rpl> <code 4rpl>
4rpl/commands/setunituitext.txt · Last modified: 2024/06/08 22:43 by Vertu