~~NOTOC~~ <=[[4rpl:start| Index]] ====== SetUnitPopupText0 ====== SetUnitPopupText0(<-UID <-text) ===== Description ===== 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 .\\ 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 ===== SetUnitPopupText0(self "My Unit") <=[[4rpl:start| Index]]