Help Getting roulette wheel and Ball to communicate

Hello, I’ve made a roulette wheel and Ball Blueprint and I am trying to figure out how to make the two of them communicate. All I have is this so far (And Roulette_Player Controller and Game Mode, Both of which are currently empty)

I’m sure I’ll eventually need to make data tables and such for what happens when you are in a number, but for now I just want to be able to print a string that tells me what Number/color the ball has landed in (The ball must be within the number’s box collision for 3 seconds before print string happens, that way it doesn’t just tell me every Box Collison name it touches while its still moving)

I’m an art guy not a programmer so my knowledge is limited. I can do some basic things and reading Blueprints makes sense to me, but knowing what to call and how to do is beyond me currently. Thank you in advance for any advice you may have!

Hello there @Didgeridrew5!

I think you are on the right track for this one, having box collisions and a three second timer, tied with blueprints, should do the trick here. The flow would be:

  1. Ball enters a collision box
  2. Timer starts
  3. If the timer completes, print the slot name
  4. If the ball leaves the box, cancel the timer
  5. Start again from 1

Just make sure of the following for this setup:

  • Double check that each box collision is properly named (Red_19, Black_31, etc)

  • Review the ball’s collision component, and make sure it’s checking for component overlap with the boxes, whenever the overlap begins,or ends

  • Use a “Get Display Name” node to pick the slot’s name, and store it in a variable

  • Once stored, start a Delay timer of 3 seconds, which should be interrupted if the overlap ends

  • If the timer completes, it means the ball remained on the slot

  • Use a Print String node to show the resulting slot