Is there a way to action button an event while the actor is one tile away from it?
I need this to light torches
I need this to light torches
Then you can use a variable instead. Instead of using a switch add a variable and make the first event add a +1 to it. Set a conditional branch on every torch event with the first one having the condition to variable(x) = 1, and then follow all of them up with =2, =3 etc, etc. Just make sure that the event that you are interacting with is adding a +1 to the variable that you are using,
If you have that many torches on a map, then you might consider the option Dark_Metamorphosis only hinted at in post #4: The counter flag
You set that by going into your database and pick 'tilesets'. To the right side you have different tabs, and one of them is called 'counter'. If you press that one and then click on the tile that you want to use (the duplicate of that wall tile), the tile will work as a counter tile. By doing this, it will let you activate events that's 1 tile away from the player.
Original thread: https://forums.rpgmakerweb.com/threads/starting-event-with-one-tile-between-it-and-the-player.18233/