EmperorFool
Deity
I'm trying to add a message to my mod that will display when a game is first started or loaded. The problem is that the message only displays in the chat log -- not on screen.
Has anyone encountered this? Any ideas for a solution? I'm going to change it to use a popup, but I don't like how intrusive it is.
Code:
gc = CyGlobalContext()
localText = CyTranslator()
msg = localText.getText("TXT_KEY_BUG_OPTIONS_KEY_REMINDER", ())
eventMessageTimeLong = gc.getDefineINT("EVENT_MESSAGE_TIME_LONG")
CyInterface().addMessage(CyGame().getActivePlayer(), True, eventMessageTimeLong, msg, None, 1, None,
ColorTypes(8), 0, 0, False, False)
Has anyone encountered this? Any ideas for a solution? I'm going to change it to use a popup, but I don't like how intrusive it is.