User Tools

Site Tools


4rpl:commands:setunitpopuptext0

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 <size=[Insert Number]>.
The full list of formats in CW4 can be found in the A.D.A. Message editor format guide.

Examples

SetUnitPopupText0(self "My Unit")

Index

4rpl/commands/setunitpopuptext0.txt · Last modified: 2022/05/16 12:58 by Vertu