So I have multiple items (10+) that I want to spawn randomly but with weights. I’ve done this before using a Macro and a bunch of “Random Bool” nodes but looking back it at, it looks all messy now.
Is there a better way of having items spawn with weights? Aka percentage of spawning chance?
Thank you!
You have a parent class for pickups, right? Just put a probability float in that, and you can set it on each of the child classes. Then all you need is the code I pasted.