How to make an npc block until events done?

I want my npc to block the pathway with a text until i talk to the other two events then i want the third one to change its text to "alright get on the boat now"
Switches are an obvious solution for that. One of simple ways is to add a switch for an each character before the final one and then check it out via an event pages what the characters should say.
You could use switches and variables. Here is a video

http://www.youtube.com/watch?v=DV6Txpe-hE0

It has similar characteristics with what you want to achieve. 🙂

Here is a written example. 🙂

Spoiler
-Create an event in front of the blocked pathway

-At the bottom right, set the one that says action button to player touch.

-add text like "This path is blocked for the moment please....."

-Next select the create new page at the top left.

-After that select the first switch at the top left

-choose anything and put a name like "Talk 1" then ok

-After that select the second switch at the top left

-choose anything and put a name "Talk 2" then ok

- Put text like "This path is not blocked..." then put erase event command, if you don't want text then just head straight to the erase event.

------------Now your done with the block path event its time to make the requirement---------

-Open the event with the player whom you want him to talk to first.

- Now create a new command(when I say command its like adding text, sound effects.etc) and select control switches

-On the one that says single, press the ... and select the switch you made earlier "Talk 1" and click on.

-Open the event with the player whom you want him to talk to next.

 Now create a new command and select control switches

-On the one that says single, press the ... and select the other switch you made earlier "Talk 2" and click on.

- Your done, basically the path will be blocked until the player talks to the two events. 🙂
Im having a similar problem, but I can move the event (character) blocking the way using switches etc...

My problem is that when I exit the location and re-enter he is back blocking the path so I cannot get back into town! lol

Anything that I can do to keep him in his moved position after I leave the map and re-enter?

Cheers

GrimmsBrother
the easiest way would be to use a script - there is one script to give you a command to save the current event position on the master script list.

The master script list is pinned in the script forum, or you can follow the link in my signature - it's also linked in that tutorial.
the easiest way would be to use a script - there is one script to give you a command to save the current event position on the master script list.

The master script list is pinned in the script forum, or you can follow the link in my signature - it's also linked in that tutorial.
Thx I found the Script and it worked, I put the script call after the move route and he stays there now!

Thanks again

Cheers

GrimmsBrother
I've moved this thread to VX Ace Support. Please be sure to post your threads in the correct forum next time. Thank you.


GrimmsBrother, please do not hijack someone else's thread with your own question. The two are not related and do not need the same solution. Next time, just post your own separate thread.


OP, you need to use switches. Read up on these and learn what they are and how to use them - you will not get far in your game without them. Also check out some of the other beginner tutorials.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-an-npc-block-until-events-done.16893/