Hey guys!
In this tutorial I'll show you how to setup a random event system that is controllable with weights so you can control the % chance of a specific event firing.
I used a chest as a simple example here. So it will spawn either:
1 - coins
2 - enemies
3 - a health potion
I really hope you enjoy!