Need help for " cant leave this area, need complete event

Hi, everyone, I'm newbie here. I have trouble with event scene. i need my character complete a converse, if not, a character cant leave this area. when my character leave area, I want show a text" i need talk to my dad before leave"
I want to know how to make that.
That sounds like a simple use of the concepts of Switches, Conditional Branches, and Text commands.

If you haven’t already done some basic tutorials, you might want to prioritize that.

When the player goes to leave, you just need an Event with a Conditional Branch to check to see if a certain Switch that you created is On. If no, then Show Text to the player that they need to talk to he NPC. If yes, then they can leave.

In the Event with the NPC, you just turn on the Switch you made to show that the player talked to the NPC.

At least I think that is what you are asking.

Hope this helps and good luck on your project!
That sounds like a simple use of the concepts of Switches, Conditional Branches, and Text commands.

If you haven’t already done some basic tutorials, you might want to prioritize that.

When the player goes to leave, you just need an Event with a Conditional Branch to check to see if a certain Switch that you created is On. If no, then Show Text to the player that they need to talk to he NPC. If yes, then they can leave.

In the Event with the NPC, you just turn on the Switch you made to show that the player talked to the NPC.

At least I think that is what you are asking.

Hope this helps and good luck on your project!
Thank you so much!

Original thread: https://forums.rpgmakerweb.com/threads/need-help-for-cant-leave-this-area-need-complete-event.171984/