I need that my character puts a campfire in front of him, but if I use the script "$gamePlayer.x + 1", the campfire will always spawn at his right. How can I set that the event has to spawn in front of him everytime (even when he's turned on his left)?
Actor Cordinates
RPG Maker MV SupportYou can use the gameplayer.y + 1?
Or you can check the direction of the character and put the camp fire according the direction that he is faced
Or you can check the direction of the character and put the camp fire according the direction that he is faced
As @Eliaquim says. When making your event, use conditional branches to check the direction in which your character is facing. You can also use conditional branches to check to see if the character is on an allowed map... unless you want your player using a campfire inside a building, then by all means ignore that last thing about allowed maps ^_^
Original thread: https://forums.rpgmakerweb.com/threads/actor-cordinates.102942/