1 decade ago by rootbeerking
Hello again! So I'm slowly learning(thanks to the great help from this forum), and I've gotten quite a bit done on my own now, but once again I've hit a block in the road of programing. My question today has to do with the Trigger Entity. I'm using it along with a modified version of the debris entity(both from the jumpnrun example) to spawn some enemies whenever the trigger is touched. It's working all well and good, but my problem is I only want the enemies to spawn if there are no enemies already spawned from the spawner entity(my modified debris entity)... How would I do this?
Alittle more info of how I&
As always thank you for taking the time to read this. I look forward to a reply.
Alittle more info of how I&
039;m currently doing things: I have a couple spawners that I've named s
(example: s1, s2, s3, etc) I've got them all linked to this one trigger entity that, when touched, causes the spawners to spawn one enemy each, in the same spot that I've placed each spawner in the level editor. Basically, I want to make sure that the enemy that was spawned has been killed before the spawner can then spawn another enemy if the trigger is activated again.As always thank you for taking the time to read this. I look forward to a reply.