Check Event Direction(facing) in Conditional Branch
I never could figure out how to check where the event is facing.
Im planning on having an enemy event to have conditional branches, depending on where the player is facing there will be a check to see where the event is facing too. To see the outcome.
In game, the player faces the event and the event was looking up, the event would get hit, but if the event was facing the player too it would result in an automated evented battle.
I found something online for a different request
($game_map.events[1].y - $game_player.y).abs == 0 && ($game_map.events[1].x - $game_player.x) == -1 && $game_player.direction == 2"
but I dont know how to implement it for me. I know the directions are 4, 8, 6 and 2. but thats all i know.
Thanks in advanced!!!
I never could figure out how to check where the event is facing.
Im planning on having an enemy event to have conditional branches, depending on where the player is facing there will be a check to see where the event is facing too. To see the outcome.
In game, the player faces the event and the event was looking up, the event would get hit, but if the event was facing the player too it would result in an automated evented battle.
I found something online for a different request
($game_map.events[1].y - $game_player.y).abs == 0 && ($game_map.events[1].x - $game_player.x) == -1 && $game_player.direction == 2"
but I dont know how to implement it for me. I know the directions are 4, 8, 6 and 2. but thats all i know.
Thanks in advanced!!!