User Tools

Site Tools


4rpl:commands:setunitpopuptext0

Differences

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

Link to this comparison view

Next revision
Previous revision
4rpl:commands:setunitpopuptext0 [2021/01/08 16:01] – external edit 127.0.0.14rpl:commands:setunitpopuptext0 [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 7: Line 7:
 ===== Description ===== ===== Description =====
 Sets the top line in the unit popup. Sets the top line in the unit popup.
 +
 +
 +Note: If SetPopupText is called with an empty string, they will default back to whatever values are specified in the UI settings for the cmod. If you want to show 'nothing', but also want to have a default value in the UI settings for the Cmod, then pass in " " (an empty space).
 +
 +:NOTE:\\
 +The entered text has access to all compatible CW4 text formating.\\
 +**However:** the textbox __will not wrap to fit the text__. Text size is the only means to fit the text within the displayed box so beware when using the format <color #8BDFFF><size=[Insert Number]></color>.\\
 +The full list of formats in CW4 can be found in the [[cw4:a.d.a_syntax_syntax_guide|A.D.A. Message editor format]] guide.
  
 ===== Examples ===== ===== Examples =====
4rpl/commands/setunitpopuptext0.1610121708.txt.gz · Last modified: 2025/02/14 14:56 (external edit)