I’m trying to make a code with two random characters spawning per room, but I don’t want two of the same characters spawning. I tried to avoid the problem with the code I used but sometimes it doesn’t work. How do I activate random spawning without activating the same random input again?
You could have it spawn one then the object that’s spawned can message the spawner what they are
For example if you had three characters
1 will spawn, 1 messages spawner 1, then the spawner disables 1 while 2 and 3 are still active.
But the spawner would then spawn only one object if the random hits the value of the spawn 2 times, like getting 2 and 2 again but only one spawns.
I’ll make an example in a bit I’m at work atm
I actually found out you could change the filters value for this problem