Hi again fantastic community,
I have a sprite ='spawner' and it spawns enemies when in sight of player. This works until....
now, I have a global variable ='enemy_count'. So I can limit the spawn count.
sys spawn_count > 5 | spawner | set animation to 'fin'
spawner | has LoS to Player| spawner | * spawn 'enemy' to layout #
* spawner | Add 1 to spawn_count
so, it stops spawning once reaching 5. THIS BIT WORKS!
The problem is, I want to clone spawner all over my layout, but once 5 is reached, it affects ALL and I really only want it to affect 1 at a time.
My brain is melting here!
Thanks for your time.guys.