I am using RPG Maker MZ to try and recreate a DnD campaign that I ran in college in video game form and with that I'm trying to do DnD/table top RPG style fighting in my game instead of the provided battle program. Like in DnD, the player gets to choose between moving and attacking. If they choose to move, they can move 6 spaces before it their turn ends. However, if the character reaches their destination/enemy in less than 6 turns, I don't know how to let the player end the turn early without having to awkwardly side step their target (and maybe accidentally having them move out of range of their target) to complete the 6 steps. But I want to let the player keep the ability to run completely past the enemy if they don't want to fight them.
They way I'm currently doing this programming wise - I set a variable(x) equal to the step count at the beginning of their turn and after each step, verify that the step count is no more than 6+X. Then i end the turn if is the 7+X.
Any suggestions for how to deal with an early turn end? The only idea I can think of is have them open their inventory to select an item that triggers the walking to end early, but that just seems clunky.
View attachment 329263
I'm trying to create a fight demo as a proof of concept and I'm stuck on this. I'm four feet away from the enemy and have to walk around him before punching him.
They way I'm currently doing this programming wise - I set a variable(x) equal to the step count at the beginning of their turn and after each step, verify that the step count is no more than 6+X. Then i end the turn if is the 7+X.
Any suggestions for how to deal with an early turn end? The only idea I can think of is have them open their inventory to select an item that triggers the walking to end early, but that just seems clunky.
View attachment 329263
I'm trying to create a fight demo as a proof of concept and I'm stuck on this. I'm four feet away from the enemy and have to walk around him before punching him.