I am making a map where a trigger will create a random item from a certain selection of item-types. I wonder if there is a way to make some item-types have a higher chances of spawning than others? For example, there could be a 50% chance of an item from the "bad item group" spawning, while there is a 20% chance of an item from the "good item group" spawning. How can this be done?
EDIT: I figured out how to spawn random items from one item group, by using a Item-type variable with an array of 5, and then storing different items in every index-number, and finally making an action that says "Create Item(Random number from 1 to 5)". But this still just creates items from one item group, with the same percent chance for every item, but I want some items to have a different chance of spawning.
EDIT: I figured out how to spawn random items from one item group, by using a Item-type variable with an array of 5, and then storing different items in every index-number, and finally making an action that says "Create Item(Random number from 1 to 5)". But this still just creates items from one item group, with the same percent chance for every item, but I want some items to have a different chance of spawning.
Last edited: