Player Input in ShowText Window Plugin [RMMZ]

@beiduo, you mean, the window didn't even pop up?

Can you confirm what are the special keys in your keyboard (the ones used for action button and cancel)?

I have checked and there are no issues with the buttons, but there are indeed no pop-up windows.
hmmm, without looking into the project it might difficult for me to guess what's wrong.
Any chance you could share the project where the issue occurs?
Also, i haven't tested this in versions prior to RMMZ 1.8.0, don't know if that's your case
hmmm, without looking into the project it might difficult for me to guess what's wrong.
Any chance you could share the project where the issue occurs?
Also, i haven't tested this in versions prior to RMMZ 1.8.0, don't know if that's your case
I have been testing your plugin in RMMZ 1.8.0.
This project is newly created with only one map and no other plugins or events.
@beiduo , that's really weird. I'm using this plugin alongisde a bunch of others in a game i'm working on and it works perfectly.

I've also updated this project with just two events: 1) to input the text, 2) to print the text input stored in the variable in showText Message


Try running it in your machine to see if it works or if you face the same issues. Really curious to understand what could be causing the issues in your end.
Almost perfect! It is working normally now. However, it seems to no longer support mouse operations, and when I click the mouse to view output variables, the newly entered text will not refresh. In addition, the core script of your project is 1.70 instead of 1.80, and it is uncertain whether the previous series of issues are related to this.
Anyway, I would like to express my heartfelt congratulations and gratitude to you!
Hi S3mz,

Is it possible to use this for Conditional Branches or, even better, via script?
If so, what would the script command be to get the value of the words stored in a variable?

Like, for example, if the value of variable 19 is "How are you?" then a specific show text command would happen.

Thank you for making this awesome plugin!
I think I found the solution if anyone is interested but please correct me if I'm wrong.

If for example you want an NPC to reply something specific to the typed in question "How are you?" then add this command to the conditional branch:

$gameVariables.value(19) === 'How are you?';

19 being the variable where the text was stored thanks to this plugin's command.
@Goat_Boy11,
Yep you're right or if you want the complete script fora show Text Window with an actor you can use a script like this:

$gameMessage.add($gameVariables.value(19));
$gameMessage.setSpeakerName('input granny');
$gameMessage.setFaceImage('people1', 7);

I'll probably add a new command with this code the plugin
Thank you! Would love to see you expand this plugin, has a lot of potential for interactive dialogues with NPCs 🤘
Thank you @Goat_Boy11.
I'm Curious to see how people use this? in your case, how will you do it?

In my case i'm creating an autonomous detective game where the suspects AI characters so this was much needed.
Thank you @Goat_Boy11.
I'm Curious to see how people use this? in your case, how will you do it?

In my case i'm creating an autonomous detective game where the suspects AI characters so this was much needed.
That sounds like a really cool concept for a game 🙂

For my project I'd to implement a system where you can type in questions or keywords for an NPC to give a specific answer, a good place to hide easter eggs as well.

It's a similar concept to the older Fallout games or adventure games from the 90s

tellmeabout_fallout.png
I've made this script using your demo as a basis:
if ($gameVariables.value(19) === ('hello') || $gameVariables.value(19) === ('Hello')) { $gameMessage.add('Hi!'); $gameMessage.setSpeakerName('input granny'); $gameMessage.setFaceImage('people1', 7); } else if ($gameVariables.value(19) === ('yo') || $gameVariables.value(19) === ('Yo')) { $gameMessage.add('Yo!'); $gameMessage.setSpeakerName('input granny'); $gameMessage.setFaceImage('people1', 7); } else { $gameMessage.add('Sorry, I don't understand!'); $gameMessage.setSpeakerName('input granny'); $gameMessage.setFaceImage('people1', 7); }

Basically the Granny NPC from the demo will give a specific reply dependent on the value of the variable, otherwise her response would just be 'Sorry, I don't understand!'

Was wandering, if you update the plugin, would you consider adding more options on how the text imput window would look like?
For example adding options to make the window dim or transparent, or to position it to the centre or top of the screen.
@Goat_Boy11 that is a great concept!!
And yeah, adding those options to the plugin is exactly what i'm thinking about doing.

You might also want to check this other plugin i created:
https://gamertoolstudio.itch.io/npc-gpt

It not only enables the user input, you can create NPC personalities and the plugin connects you to Chat GPT to get the responses in tune with your NPCs context:
Almost perfect! It is working normally now. However, it seems to no longer support mouse operations, and when I click the mouse to view output variables, the newly entered text will not refresh. In addition, the core script of your project is 1.70 instead of 1.80, and it is uncertain whether the previous series of issues are related to this.
Anyway, I would like to express my heartfelt congratulations and gratitude to you!
Thank you so much for the kind words and support.

I think i managed to replicate your issue:
- the window doesn't pop up if your event has Page1 with plugin command and then you move to page 2 with no condition.
-If you add a condition to the second page "variable19 >1" it ensures the event only moves on to the next step after the input is complete and it will allow the player to interact with the window, open and close it at will.
Thank you so much for the kind words and support.

I think i managed to replicate your issue:
- the window doesn't pop up if your event has Page1 with plugin command and then you move to page 2 with no condition.
-If you add a condition to the second page "variable19 >1" it ensures the event only moves on to the next step after the input is complete and it will allow the player to interact with the window, open and close it at will.

I set up two events. One of them has a page with plugin command, and the other has a page for displaying input results. The two pages are not with condition. I first touch the input event, and then touch the display event. That's it.

Original thread: https://forums.rpgmakerweb.com/threads/player-input-in-showtext-window-plugin-rmmz.164839/