I'm attempting to create an ability usable outside of combat that applies to the tile in front of the player.
So okay, I have this bit that runs whenever I activate the ability. It checks the player's location & direction, moves in an event, and then plays a particle effect on it. Currently, this just plays the event on the player.
How do I say to RPGmaker, "i'm facing right, so add 1 to the variable storing X axis (in this case 0019), and if I'm facing left, -1"? So that way the event gets moved to the tile in front of the player, instead.
So okay, I have this bit that runs whenever I activate the ability. It checks the player's location & direction, moves in an event, and then plays a particle effect on it. Currently, this just plays the event on the player.
How do I say to RPGmaker, "i'm facing right, so add 1 to the variable storing X axis (in this case 0019), and if I'm facing left, -1"? So that way the event gets moved to the tile in front of the player, instead.