You could also spawn an enemy and use a counter to limit the number of spawns to a set number. You could also use an attribute... and then monitor that attribute... to keep the number of that enemy limited to 1.
rather than create a game attribute, you can give an attribute for the enemy within the actor itself. Then you just create a rule that says when self.enemy ...... as opposed to a game.enemy ... that way if you have multiples of them they all have a set life
Comments
You could also spawn an enemy and use a counter to limit the number of spawns to a set number. You could also use an attribute... and then monitor that attribute... to keep the number of that enemy limited to 1.