Hi everyone, i am trying to conditional branch when player facing diagonal movement in an event. The idea behind this is if player is facing UPPER_R then do an action i have try a lot of thing more than the following but without success :
Hi everyone,
i am trying to conditional branch when player facing diagonal movement in an event.
The idea behind this is if player is facing UPPER_R then do an action
i have try a lot of thing more than the following but without success :
if: Script $gamePlayer.Input.dir8 == 9
If :Script Game_Character.ROUTE_MOVE_UPPER_R
If: Script this.moveDiagonally(6, 8);
I have a little experience at javascript. I am turning around on that now for a few day and i am running out of idea.. any tips would be appreciated.
Edit : I have found a solution see image attachement.

RPG Maker Web attachments are mirrored locally when available. Other external links remain hosted by their original creator or third-party service.