Something that could be added is a check that at least one of the events has a probability greater than 0. The first event will always fire if the values are all 0
@iiropeltonen Жыл бұрын
Quick Unity Tip. The SPACE attribute takes an int parameter so you don't need several ✌️
@Reybelicious3 ай бұрын
Perfect for what I want ty. Good explanation
@RiosheGames Жыл бұрын
Very helpful and easy to extend, Thank you for sharing!
@Ironroc Жыл бұрын
Hey good timing, I was just about to try and figure this out for breaking crates in my game. Thanks!
@TheKr0ckeR Жыл бұрын
We might also use Random.value in that case since it gives a random value between 0-1. Thanks for the great tutorial.
@angelrubiov Жыл бұрын
Timestamp for the actual weighted chance code?
@Surkk2960 Жыл бұрын
I don't know if I'm smart enough to figure out how to translate this from unity to godot, but it is a good tutorial nonetheless.