How do i make it so that when a box is broken, different items fall onto the ground?

can you explain the random drops with more detail?

2 Likes

Basically the game just generates a random number, and depending on how big that number is, it grants you an item

The best solution I can see is this:

  1. make the prop breakable
  2. when prop breaks, broadcast on ‘x’ channel
  3. block codeable device triggers on ‘x’
  4. that block code broadcasts on random channels
  5. certain items appear based on channel broadcasted on

If you wanted to make them able to be picked up, you would also have to include buttons in step 5.

The random bit works by generating a random number as a variable, then checking to see if that variable is a certain number. Based on the number, you can have if statements that then trigger on certain channels.

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.