Shared probability across multiple emitters

Hey guys,

I cannot wrap my head around something that should be pretty trivial…

I’d like to have a shared spawn probability across my three emitters.
Ideally, when the spawn probability triggers, all three emitters would spawn together.
My initial approach was to generate a random value at the system level to share among all the emitters, but I haven’t been able to get it working so far :confused:

Thanks!

Hi! If you generate a random float value at system level it won’t work because the emitter itself randomly calculates the probability to spawn (if your random value is 0.4, each emitter will have a 40% chance of spawning, individually)

A very simple way to do this would be to generate a bool based on a random float at system level like so, and then set the spawn probability of the emitters to be 1 or 0 based on that bool:

Hope it helps!

Works like a charm, thank you!

1 Like