# Dice, Board game help

**URL:** <https://forums.unrealengine.com/t/dice-board-game-help/600738>\
**Category:** Blueprint\
**Tags:** unreal-engine, UE5-0, Blueprint\
**Created:** [July 9, 2022, 3:17am UTC](https://forums.unrealengine.com/t/dice-board-game-help/600738 "2022-07-09T03:17:22Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Slayeer3](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/slayeer3/32/88715_2.png) [@Slayeer3](https://forums.unrealengine.com/u/Slayeer3)\
**Post date:** [July 9, 2022, 3:17am UTC](https://forums.unrealengine.com/t/dice-board-game-help/600738/1 "2022-07-09T03:17:22Z")

</div>

I have a board and tiles, i have the dice roll and dice movement. i Have the character move to a set tiles based on number on die, so 1 he goes to 1st tile, 2 he goes to tile 2, there is no adding of numbers its simply set as he goes to the tile the number is associated with, so if hes on tile 6 and you roll a 1 he goes back to tile one, so no actual continuation to movement if that makes sense, i’m just trying to figure out the math and/or how to put a value to the dice so it adds to the movement if that makes sense thanks

---

<div class="post-metadata">

**Author:** ![jmancoder1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jmancoder1](https://forums.unrealengine.com/u/jmancoder1)\
**Post date:** [July 9, 2022, 2:48pm UTC](https://forums.unrealengine.com/t/dice-board-game-help/600738/2 "2022-07-09T14:48:21Z")

</div>

I don’t entirely understand what you are asking, but you should be able to move your die with the “MoveComponentTo” node. To find the target location, you could subtract the current tile from the target tile and multiply that by the tile size. For example, if the die were on tile 6 and you wanted to travel back to tile 1, then you would move to something like (-500, 0, 0), which could be added to the current location vector if necessary.

---

<div class="post-metadata">

**Author:** ![Slayeer3](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/slayeer3/32/88715_2.png) [@Slayeer3](https://forums.unrealengine.com/u/Slayeer3)\
**Post date:** [July 9, 2022, 4:04pm UTC](https://forums.unrealengine.com/t/dice-board-game-help/600738/3 "2022-07-09T16:04:39Z")

</div>

yes but that’s based on location and size of tile my BP would be enormous, i wanted to have the dice number add to the space number. so if the character is on tile 5 and rolls a 5 go to tile 10

---

<div class="post-metadata">

**Author:** ![L.F.A](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/l.f.a/32/1194525_2.png) [@L.F.A](https://forums.unrealengine.com/u/L.F.A)\
**Post date:** [July 9, 2022, 8:48pm UTC](https://forums.unrealengine.com/t/dice-board-game-help/600738/4 "2022-07-09T20:48:14Z")

</div>

Hi there,  
You need to save two variables type integer: current tile and dice value, assuming only one dice is rolled. Then, your actor location is going to be set after every dice roll as: “get” current tile and “get” dice value, connect both variables to a “plus integer”, which output pin should be connected to “set” current tile.

So, next round starts and you roll the dice again, then repeat the logic of getting a new dice value.

---

<div class="post-metadata">

**Author:** ![Slayeer3](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/slayeer3/32/88715_2.png) [@Slayeer3](https://forums.unrealengine.com/u/Slayeer3)\
**Post date:** [July 10, 2022, 4:32am UTC](https://forums.unrealengine.com/t/dice-board-game-help/600738/5 "2022-07-10T04:32:41Z")

</div>

wow thank you, i got it working and the dice add to the space that the character is on and everything, except the stupid Ai doesn’t want to turn at the end of the “Road” and continue onto the next grid spaces it only like to move forward

---

<div class="post-metadata">

**Author:** ![L.F.A](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/l.f.a/32/1194525_2.png) [@L.F.A](https://forums.unrealengine.com/u/L.F.A)\
**Post date:** [July 10, 2022, 12:13pm UTC](https://forums.unrealengine.com/t/dice-board-game-help/600738/6 "2022-07-10T12:13:22Z")

</div>

Glad to know you are progressing. If your road is linear without derived paths, you may want to try adding blocking volumes surrounding it. Else. You may need to make every tile a “tile actor”, so you can get its “world space” location. Then, call the function “AI Move to (actor or location)” and get the tile destination previously saved as actor or location variable.

---

<div class="post-metadata">

**Author:** ![Slayeer3](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/slayeer3/32/88715_2.png) [@Slayeer3](https://forums.unrealengine.com/u/Slayeer3)\
**Post date:** [July 10, 2022, 12:33pm UTC](https://forums.unrealengine.com/t/dice-board-game-help/600738/7 "2022-07-10T12:33:29Z")

</div>

Yeah I had a brain fart and forgot to put the nav mesh on the new tiles 🤦

---

<div class="post-metadata">

**Author:** ![UnderBigSky](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@UnderBigSky](https://forums.unrealengine.com/u/UnderBigSky)\
**Post date:** [May 3, 2023, 7:42am UTC](https://forums.unrealengine.com/t/dice-board-game-help/600738/8 "2023-05-03T07:42:50Z")

</div>

Hi, late to the party I know. I’m having trouble even figuring where to start to get a character to move according to a dice result (boardgame). I’ve been trying to figure it out with a spline. Is numbered tiles a better way to approach it?  
Edit: It won’t be a square board, it’ll be more like Life or Fireball Island.

---

<div class="post-metadata">

**Author:** ![Xaninierr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xaninierr](https://forums.unrealengine.com/u/Xaninierr)\
**Post date:** [August 18, 2026, 3:12pm UTC](https://forums.unrealengine.com/t/dice-board-game-help/600738/9 "2026-08-18T15:12:04Z")

</div>

i would use a Random Integer in Range node for the dice value and a timeline to animate the roll. A Branch node can handle displaying each face and a Delay node syncs the timing

---

<div class="post-metadata">

**Author:** ![Xaninierr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xaninierr](https://forums.unrealengine.com/u/Xaninierr)\
**Post date:** [August 20, 2026, 4:12pm UTC](https://forums.unrealengine.com/t/dice-board-game-help/600738/10 "2026-08-20T16:12:39Z")

</div>

for testing random dice outcomes, i use [https://dice.onl](https://dice.onl) to quickly verify logic without launching the game. pair that with a timeline for animation and a branch node for face detection and you’ll have a solid blueprint setup
