⇐ Index
SetUnitPopupText0(<-UID <-text)
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).
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 <size=[Insert Number]>.
The full list of formats in CW4 can be found in the A.D.A. Message editor format guide.
SetUnitPopupText0(self "My Unit")
⇐ Index