Yes, absolutely! You can easily use this plugin for a board-game style movement system in a dungeon.
The core feature of this plugin is that it saves the final total of the dice roll into an RPG Maker Variable. Once that number is in a variable, you can use standard RPG Maker event commands to make the player move that exact amount of steps.
Because the plugin automatically pauses the event while the dice are rolling on the screen, the movement will wait perfectly until the player sees the result.
Here is a step-by-step guide on how to set this up using a standard Map Event:
Step 1: Roll the Dice
Create an event (like a button, or an autorun/parallel event that triggers on the player's turn) and use the Plugin Command to roll the dice.
- Plugin Command: Roll Dice (Map)
- Dice Notation: 1d6 (for a standard 6-sided die, or 1d4, etc.)
- Result Variable: Variable 0001 (or whichever variable you want to use, let's call it "Movement Steps").
Step 2: Create a Movement Loop
Right beneath the Plugin Command in your event, you will create a Loop that moves the player one step at a time, subtracting 1 from the variable until it hits 0.
Your event should look like this:
◆Plugin Command: Kadajah_DiceD20, Roll Dice (Map)
: :Dice Notation = 1d6
: :Result Variable = 0001: Movement Steps
◆Loop
◆If: Movement Steps > 0
◆Set Movement Route: Player (Wait)
: : ◇Move Forward
◆Control Variables: #0001 Movement Steps -= 1
◆Wait: 10 frames (Optional: adds a slight pause between steps)
◆Else
◆Break Loop
◆End
◆Repeat Above
If it turns out to be complex to implement in your game, I can add it as a plugin command to make things easier for you. Just let me know. I'm glad you're enjoying the plugin, and I appreciate all the support.
