Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
you can use Message Visibility command to just hide the message text or Message Box Visibility command to hide the message box.
That is weird, if you use a hotspot then the hotspot has more priority over the message. So if you click on the hotspot, the message should not react or continue. But maybe that is only in latest BETA, are you on BETA or STABLE?
However, if you want to avoid that the user can click on things behind your menu, just create a huge, screen-size transparent hotspot over the entire screen and show your menu on top of that. That hotspot will catches call clicks not handled by your menu and avoid that any other elements in the background will catch clicks.
But in case of message text, the message text can be continued with return-key as well. To avoid, you have to use Message Visibility to hide the message because if hidden all inputs are ignored. That would be the easiest solution.
In the current version, the message text will continue if any mouse button has been pressed or if the return-key has been pressed.. If you want to fix that, you have add a script modification to your game:
Go to Script Editor > Components and create a new CoffeeScript script file and call it Component_CustomMessageTextRenderer and make sure it is below the Component_MessageTextRenderer script. Add the following contents to the script:
https://pastebin.com/raw/mm7Shpqg
With that change, the message text will only respond to the left mouse button. The right mouse button will do nothing so you can assign something else to it with a common event.
Let me know if that helps you out. We are working on that to make it easier in the future with more easy configurable keys and buttons.
It works perfectly! Thank you so much for making the script.
I am in the BETA but now going back and testing the hotspot does have more priority over the message.
Alright! That works just great and it hides the message and everything. Pretty much everything is done but the last problem is being able to bring back the same text as before.
When I have the visibility turned back on for the message and box the previous message isn't there anymore. Perhaps I can use the last message in the backlog somehow to bring it back so the player can continue with the scene?
When exiting the scene the text is just blank and nothing happens.
I tried with a label that jumps to the top of where the message starts which seems to be the only solution at the moment. So I guess when exiting the menu it goes to the bottom of the scene. Hope this helps in trying to figure this out.