Player move as per dice number and able to turn left/right/up/down as per the path

Hi Aloe,
The Roll And Go! button become normal and the player could move right after dice animation after delete away the show text instruction. Thanks again!
Hi Aloe,
Would like to trigger the event on the walk path that DiceRoll =0(when the player stop moving), but its no working. Have create the common event on the walk path as below:
common event on walk path.png

map.png
Any advise is appreciated. Thanks!
HI All the Master here,
Have try using switch to trigger the map event so as the player trigger the common event when stop at the specific walk path while DiceRoll=0(player is stop walking), but it also doesn't work .Kindly please advise. Thanks!
Event switch.png
common event.png
You probably want to put the Break Loop command after you change the switch. When you break out of a loop, that's the first thing the event will do. It will go straight to whatever command is after Repeat Above. So in your event, it's skipping over the Control Switch command and it never gets changed.
Would like to trigger the event on the walk path that DiceRoll =0(when the player stop moving), but its no working. Have create the common event on the walk path as below:

For this post, based on the event you are showing it's a map event (not common event) with an event trigger of Action Button. What it means is that the player could only trigger that event if they are standing on it and press the action button.

For your second question, you have a on-map event set to Parallel which is using a Show Text command. Parallel events run every frame which is 60 times per second. They way you have it set up now, when the switch changes, the event will run 60 times per second.

Why do you need an on-map event? In your Common Event you already check for if the dice roll is 0. Why not add the event command there?
HI Aloe,
My event set up may not correct. I actually wants the player to trigger the on map event when the payer is stop (DiceRoll=0). Therefore, this event will trigger every time the dice is roll if i trigger this event in common event which is not my intention. My intention is only trigger the on map event on that particular walk path(tileset/step). My DiceRoll variable is actually refer to step to move or remaining step. kindly please advise how to do that. Thanks in advance.

Hi Scanime,
have tried your suggestion but it doesn't work too. any other suggestions are welcome.
Try changing the on map event to trigger from Player Touch instead of Action Button. Though I'm not sure that will work.

You can also nest branches to your common event within the branch you already have.
IF DiceRoll == 0
And PlayerX == 7
And PlayerY == 11
And do whatever you want for that space (say the space is at coordinate 7,11 otherwise change it for your numbers)
Hi Aloe,
Have try your suggestion as shown below:
common event.png
But it doesn't work too. Besides, there is a error-"illegal break statement" pop up if i put the break statement inside the if statement. Any other advise? Thanks!
PS: var (1) = DiceRoll, var (2) = position X, var (3) = position Y.
When Aloe mentioned nesting branches, he meant something like this:

branch1.jpg


You're trying to do the if statement as a script, which works, but only if what you intend to do within the if block is also a script. ( You could use if to test using a script instead. The option is on page 4 of Conditional Branch at the bottom, and it would like something like this:

branch2.jpg
HI Scanime,
Thanks to enlighten me. Aloe method is work. However, the strange thing is the event that i set up is always trigger next to the position i set-example, the event trigger in position (2,7) instead of what i set in (1,7). Any advise? thanks!

Original thread: https://forums.rpgmakerweb.com/threads/player-move-as-per-dice-number-and-able-to-turn-left-right-up-down-as-per-the-path.91427/