Page 1 of 1

Detect biter nest spawning

Posted: Sat Jul 23, 2016 12:46 pm
by tux_mark_5
Is there a way to detect when a unit-spawner or a turret is created on a surface?

Re: Detect biter nest spawning

Posted: Mon Jul 25, 2016 3:22 pm
by aubergine18
I'm still learning the API, but see if either of these events suffice:

* defines.events.on_trigger_created_entity
* defines.events.on_force_created