Hello Guys,
I have two spawning locations under the Path2D node and I am looking for a way to randomly spawn game entities from these locations. Is it possible?
I think the easiest way is:
var randomSpawn = 0 var rng = RandomNumberGenerator.new() func _ready(): rng.randomize() randomSpawn = rng.randi_range(1,2) if randomSpawn == 1: spawn in 1 else: spawn in 2 ~~~