How to make percentage based spawning system

Experiment with curves, see if it works for you:

image

This one would favour lower tier enemies in a 0-10 range (11 choices):

This way there’s no need to punch in any values, you adjust the curve instead; and can use a different curve for other difficulties, for example.


There is no single node that does what you want to do, you’d need to write a bunch of script anyway.

3 Likes