Random captureable NPC spawn in set radius around player

Hey downofwar5000!

So what you can do here is use a Random in Range (Float) node. You can do something like this:


So the “Common” and “Rare” variables are checked. Say you get a 700 and common is set to 500. This will return false for Common, and move on to asking if it’s Rare. This can be chained as many times as you need to have your different rarities!

1 Like