Hello. I'm using Galv's Diagonal Movement plugin. I want to set a condition to check if the player is facing diagonally. In the Conditional Branches "Script" field, to check if the player is facing down, I'm using:
That works, no problem. But if I use a diagonal value, like:
it doesn't work. If I'm facing down-left or down-right, it thinks I'm just facing down. It seems like this would be doable, since RMMV has built-in commands for moving diagonally. Is there a way to do this?
Thanks!
Code:
$gamePlayer.direction() == 2
That works, no problem. But if I use a diagonal value, like:
Code:
$gamePlayer.direction() == 3
it doesn't work. If I'm facing down-left or down-right, it thinks I'm just facing down. It seems like this would be doable, since RMMV has built-in commands for moving diagonally. Is there a way to do this?
Thanks!