Page 1 of 1

[Done] Concept Help - Unit Launcher

Posted: Sun Apr 14, 2019 2:38 pm
by TheSAguy
Hi,

I've created a unit launching unit in my mod NE Enemies.
Every now and then, I get a problem, where the unit attacks a rock or wall and as a result spawns a LOT of units...

See example here

I was wondering if anyone has a good solution to this.
The one I came up with is to check for units around the trigger event and if there are to many, don't spawn any new units. (here)

Any other thoughts?

Thanks.

Re: Concept Help - Unit Launcher

Posted: Sun Apr 14, 2019 4:26 pm
by Klonan
You could do the broodlord solution, where the created units die after a relatively short amount of time.

This would be easy in Factorio, just set health regen to something negative.

Re: [Done] Concept Help - Unit Launcher

Posted: Sun Apr 14, 2019 8:06 pm
by TheSAguy
Ah, that is a simple solution!
Thanks.