[XP SCRIPT REQUEST] Talk button?

I want to make a custom button in menu called 'Talk'

It will allow the character to talk to each other, telling puzzle hints, some cutscene, etc.

But some of it only available in a certain area of the map, or requires some variables/item/etc.

If the requirements are available, the player sprite will get the 'EM Exclamation' animation ( animation number 98 ) and the Talk Button will be available to be pressed.

Sorry if my english is bad. Thanks for checking on my topic.

If you desired to help me making this script, is it okay to use it for commercial? I'll credit you, of course.

*Edit = I just had an idea, how about I just make another button in menu called talk, and it going to be linked to a Common Event which contains my cutscenes, hints, and all  since I'm no scripter. So I can someone tell me how I do all of this? Thanks!
Which characters do you want to talk to, and why can't you use simple eventing for conversations on the map?
Wow I this is actually an idea i have for my game. crazy how people can think alike. Thumbs up!

If I figure it out I'll let you know.
yeah, why would you need a script for this? I always do it using events. Is the script to control who can talk to who, what they say, when they can say it? That's a lot of work for it to do, and a lot of customization you'd have to add (because no scripter is going to put all the conversations in), and a lot of things you could break in the process.
From a gamer's perspective, being able to select a "Talk" command from the menu to talk to party members has a very different feeling from invoking an on-map event.
You could just make an item with no icon and tie it to a common event. That's how I'm currently doing my party switching feature at the moment, so you can still do it anywhere.
You can also have it as a skill on a character. I prefer the way that feels.
Which characters do you want to talk to, and why can't you use simple eventing for conversations on the map?
Just to trigger hints and cutscenes, like some background stories, heart event, etc. I just didn't want the player become bored because too many texts to read.

Wow I this is actually an idea i have for my game. crazy how people can think alike. Thumbs up!

If I figure it out I'll let you know.
Thank you! 😀

yeah, why would you need a script for this? I always do it using events. Is the script to control who can talk to who, what they say, when they can say it? That's a lot of work for it to do, and a lot of customization you'd have to add (because no scripter is going to put all the conversations in), and a lot of things you could break in the process.
I just want to use it to give a puzzle hint when the player stuck, and to triggers some cutscenes.

If that's too much, maybe I just want to know how to add a custom button in menu, and I probably link the button with a Common Events. Because I'm no scripter.
Wow I this is actually an idea i have for my game. crazy how people can think alike. Thumbs up!

If I figure it out I'll let you know.
Well, I already figured out myself. Thanks to Bigace.

Just go to : https://bigaceworld.wordpress.com/rgss/

Then copy and paste the Menu Engine and some requirement scripts for the Menu Engine. (If you get errors, you probably need to readjust the order in your script editor or rename the script).

then go to line 258 in Menu Engine, look up for event2, then rename 'Camp' into 'Talk', or anything you want.

Lastly, go to Common Event, and create a common event (but you need to put it in the 1st order), then put bunch of conditional branch using variabel (or/and) switches for your cutscenes, hints, etc.

I hope this help your project.

Original thread: https://forums.rpgmakerweb.com/threads/xp-script-request-talk-button.36230/