This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
4rpl:commands:showgamemessage [2024/01/27 19:19] – Added emphasis on an important detail digitalizedMind | 4rpl:commands:showgamemessage [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 28: | Line 28: | ||
If a button is shown, a message will be sent when the button is pressed. A variable named ' | If a button is shown, a message will be sent when the button is pressed. A variable named ' | ||
| | ||
- | In order to allow the player to close the message, a script must be registered for the message channel specified using [[4rpl: | + | In order to allow the player to close the message, a script must be registered for the message channel specified using [[4rpl: |
If a message is already showing, then calling this function will do nothing. If you want to replace the message, you must first call [[CloseGameMessage]] if there is already a message showing. | If a message is already showing, then calling this function will do nothing. If you want to replace the message, you must first call [[CloseGameMessage]] if there is already a message showing. |