Visual Novel Maker

Visual Novel Maker

How to hide text, how to configure what button continues text.
I have a menu which is entirely all common event, but when I have the CE pop up while the player is reading text, the text still appears over the CE. Is there a way to hide the text entirely while also disabling the player from accidentally continuing the text? (Because when they click around on the menu it also continues onto the next message.) And when they exit the menu they are still on the same line of text when they get back.

My second question is if there is a way to change what button continues text? Right-clicking continues the text, but I would like that button to specifically serve a different purpose.

Any help on this is appreciated.
< >
Showing 1-3 of 3 comments
Kentou  [developer] Jul 23, 2018 @ 5:04pm 
Hi Bael,

you can use Message Visibility command to just hide the message text or Message Box Visibility command to hide the message box.

Because when they click around on the menu it also continues onto the next message.

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.

My second question is if there is a way to change what button continues text? Right-clicking continues the text, but I would like that button to specifically serve a different purpose.

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.


Last edited by Kentou; Jul 23, 2018 @ 5:05pm
Black Sea Salt Jul 23, 2018 @ 6:33pm 
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.

It works perfectly! Thank you so much for making the script.


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?

I am in the BETA but now going back and testing the hotspot does have more priority over the message.

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.

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.
Last edited by Black Sea Salt; Jul 23, 2018 @ 6:55pm
Black Sea Salt Jul 23, 2018 @ 6:55pm 
Originally posted by Kentou:
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.

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.
< >
Showing 1-3 of 3 comments
Per page: 1530 50