public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

Conditionnal Branch for facing diagonal

BMM Archive · July 15, 2026

Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.

Original Source

  • Original title: Conditionnal Branch for facing diagonal
  • Original author: dartarvo
  • Original date: February 26, 2016
  • Source thread: https://forums.rpgmakerweb.com/threads/conditionnal-branch-for-facing-diagonal.57567/
  • Source forum path: Game Development Engines > Legacy Engine Support > RPG Maker MV Support

Summary

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 :

Archived First Post

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.

Protected download

Downloads / Referenced Files

Log in to download

Log in, then follow the RPG Maker Developers Group to see these download links.

Log in to download

Referenced Images / Attachments

playerisfacingdiagonal.jpg
playerisfacingdiagonal.jpg
Creator Claims / Removal

If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.

#rpg-maker-archive#mv-support

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar