Hi! I'm trying to make it so when a event goes in a certain spot on the map it triggers a switch. Is there a way to to that? I can't seem to find anything. Thank you!
Make an event trigger a switch
RPG Maker MV SupportDo a common event like this:
how is the movement of the event controlled?
EDIT; and the ninja'd answer above is missing a few waits to reduce lag, and should only be used if the event is on random movement. Otherwise there are usually better solutions, which is why I asked how the event moves first.
EDIT; and the ninja'd answer above is missing a few waits to reduce lag, and should only be used if the event is on random movement. Otherwise there are usually better solutions, which is why I asked how the event moves first.
Yeah, I assumed OP capable of implementing it in an effective way according to however their npc is moving. 😅
Hi to both of you! Thank you for the quick answers! 🙂 So the event will have to go in a straight line until it reaches a certain spot. There will be multiple of them in a straight line waiting to go to the spot. Once they are on it there will be a switch that turns on and makes another page of the event activate (a text bubble).
You can trigger Switches inside Move Route commands
I didn't ask how the event move but how the move is controlled.
do you have another event with a set move route? do you use autonomous movement? does the event set the moveroute on itself?
Oh ok, I have an event that has a move route (move up) on page 1 (autorun), and I want that only when it reaches a certain spot a page 2 is activated. 🙂
Oh, I didn't notice thanks! 🙂 I'll try that out and let you know!
I'll test it out better when I have more time, but it seems to work! Thank you so so much!
in that case you don't need an extra parallel process for checking, the event can use the same commands to check the position before giving the next move up command.
My question to this is once the event is at the coordinates the it just repeats the text over and over. How do. End the checking of x and Y after it’s complete. I tried the Exit event processing command and it doesn’t work.
You can put the common event trigger as switch. Have an autorun event turn that switch on when the player enters the map. When the common event is done doing whatever switch stuff it needed to do, turn that switch off and the common event will stop.
Put an erase event into the autorun event if you want the common event to turn on again if the player revisits the map, otherwise use a self switch.
Original thread: https://forums.rpgmakerweb.com/threads/make-an-event-trigger-a-switch.168977/