Effect: Random state

EffectNo. 9189

Synopsis

This is the box for rolling dice and spinning roulettes from a circuit; the roll is immediate. In BoomBang you can choose a user variable so the die's result is added to whoever rolled, and a wait in seconds so it cannot be rolled again too soon. Perfect for board games and raffles.

Step by step

Roll a die and add its face

Boxes you need

  1. TriggerTrigger: Say something
  2. EffectEffect: Random state
  1. Place a six-sided die. Create a “User variable” named “points”, with a value and duration “While the user is in the room”. Save it.
  2. Stack “Says something” and “Random state”. Set the word to “roll”.
  3. Select the die, choose “points” as the user's score variable and set the cooldown to 5 seconds. Save.
  4. Say “roll”, repeat immediately and try again after 5 seconds. Inspect “points” in the Variables section of /circuits.

Result: Each allowed roll adds a face from 1 to 6; repeating during the cooldown adds nothing.

Settings

Settings window of “Effect: Random state”
This box's window in the game (Spanish client).

Notes

Related

Used in these recipes