Hello people, I'm working on a "survival shooting game" kinda The House of the Dead mixed with Splatterhouse vibe <img src="{SMILIES_PATH}/icon_mrgreen.gif" alt=":mrgreen:" title="Mr. Green"> So far so good until I had to make the enemies attacks <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad"> At start of layout I start an enemies time behavior called [attack] of 5 seconds set that:
[on Timer "attack"]
[For Each Enemy]-> they flash and the system sustract 05 from the player health
All that works fine, the problem is that I wanted one of the enemies to be the "leader" so if you don't defeat that one the others just keep respawning <img src="{SMILIES_PATH}/icon_twisted.gif" alt=":twisted:" title="Twisted Evil"> And there is were I'm having trouble <img src="{SMILIES_PATH}/icon_mad.gif" alt=":x" title="Mad">
The game itself it's just a little more than a draft at this point, I will change a lot of elements for the final release, but only if I manage to get this working right since is a crucial mechanic for my game <img src="{SMILIES_PATH}/icon_cry.gif" alt=":cry:" title="Crying or Very Sad">
This is what I got for now:
http://satanicalmassacrewip.bitballoon.com/
And this is the capx:
http://www.mediafire.com/file/12zhap8wt ... e%2001.zip
You will see the problem with the timer is disabled (under the "enemies 01" inside Enemies Group) if that timer is not activated the enemies stop attacking, if is activated the player health doesn't stop depleting (when it's supposed to sustract just 5)
Already thanks to anyone that could point me what I'm doing wrong since I always tend to overcomplicate things in the games I make <img src="{SMILIES_PATH}/icon_razz.gif" alt=":P" title="Razz">