MZ Game Mechanic Help - DnD Style movement

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.
I don't know that much about DnD but it looks like it follows SRPG movement but with diagonals so you might want to look at an SRPG plugin.
I have did some movement experiments in MZ that you might find interesting. You can find them on my YouTube channel. I didn't do anything with ending movement early as I recall, but this is what I would do.

I would use the ButtonPicture plugin that is default with MZ and I would add an image to the screen that can be selected. This calls a Common Event. In that CE, I would give the player the option to end movement. If yes, you can do whatever you need to do to stop the movement. You can use the TextPicture plugin to even make the image that the player can select something like End Turn.

Or you can check out alternative battle system plugins that might do what you want.
What is DnD? The attached image does not work.

Regarding "early end of turn?" you can create a condition to end the turn that is different from the one used to count steps.
After all, can the player want to take one step and end his turn?
@Eternidade_1 Dungeons & Dragons. D&D. DnD.
Well, being D&D, the movement would be linked to the character's movement, I would use the standard 9 meters.
You create a battle grid where each part is divided by 1.5 meters.
Create a condition to move, using a meter for the character's movement limit.
Create a condition to enter the enemy's threat area and attack.
Create a condition to move without generating opportunity attacks from enemies.
Create a condition to continue movement after making an attack.
Create a condition to decide what to do on the turn, postpone action, move 1.5, or move and move.
Create abilities that use your battle grid, for full-round actions, partial actions and free actions.
Creating D&D in Maker is a bit complex.
D&D style movement would require a well-crafted dedicated plugin, and might require it's own combat engine to go with it.
@ZimXero I hope not because that is what I am trying to learn how to do in MZ without extra plugins. I might discover it can't be done, but nothing is lost by trying and gaining experience.
@ZimXero I hope not because that is what I am trying to learn how to do in MZ without extra plugins. I might discover it can't be done, but nothing is lost by trying and gaining experience.
Good luck. You're extremely talented and capable. I am sure you will break the envelope on this.
I don't know that much about DnD but it looks like it follows SRPG movement but with diagonals so you might want to look at an SRPG plugin.
This might be the exact battle system I was looking to use! It looks a lot more complex than I was planning on, but I will definitely have to try it out. Thank you!

I have did some movement experiments in MZ that you might find interesting. You can find them on my YouTube channel. I didn't do anything with ending movement early as I recall, but this is what I would do.

I would use the ButtonPicture plugin that is default with MZ and I would add an image to the screen that can be selected. This calls a Common Event. In that CE, I would give the player the option to end movement. If yes, you can do whatever you need to do to stop the movement. You can use the TextPicture plugin to even make the image that the player can select something like End Turn.

Or you can check out alternative battle system plugins that might do what you want.
This is a very good idea - i will have to look into the plug in. It seems very simple and easy to implement with what I currently have.

@ZimXero I hope not because that is what I am trying to learn how to do in MZ without extra plugins. I might discover it can't be done, but nothing is lost by trying and gaining experience.
I've been working on game for a while - I would love to do everything without plug-ins and have the game be 100% my work, but I've accepted that's not possible. MZ is good at the basics and I created a full draft of the game without any plug-ins, but the finishing touches that I want to really make the game perfect - I just can't make without plug-ins or behind the scenes coding. I'd much rather my game fit my vision with plug-ins, than have it be sub par without it plugins
Adding a update for anyone reading this in the future:
I was actually not able to get the SRPG plugin to work with my game - I don't know if it didn't work with another plugin I had or I just did it wrong.

I did find something on reddit that solved my problem with a lot less programing:

I simply used the response from Fear5d to link a common event to a random keyboard key, which will allow the player to end their turn early. Took 5 minutes to implement and test.

Original thread: https://forums.rpgmakerweb.com/threads/game-mechanic-help-dnd-style-movement.174805/