Enemies Start Shooting When Actor Arrives
![Markos](http://forums.gamesalad.com/applications/dashboard/design/images/defaulticon.png)
I have the main actor and I already placed the enemies along the scene (15 images total as one background)....How can I make the enemies shoot only when the main actor is coming near them...??
Comments
(in the shadow actor)
So when the shadow actor hits an enemy the attribute changes to a value where they all fire.
(in the enemy)
If you want only the closest enemy to fire then you can say when the enemy collides or overlaps with the shadow actor it fires.
Hopes this helps
Valan