How to limit the number of actors when spawning?

I need to make it so that when the trigger is pressed, the actor spawns (I already did this), but after three spawns, further spawning should be prohibited. How to make a spawn counter so that spawning is prohibited after a certain amount? In short, you fired 3 shots and you can’t take any more. Thanks

Or, if they can get destroyed and you can have up to 3 up and running:


edit: The == has to be hooked up as well, updated the images.

1 Like

Everything worked out. Many thanks!

1 Like