Hi there.. Im needing help with a timer...
What i need:
A timer that goes on when triggered by a event that can be multi triggered... And i dont want all to get triggered by same.. like this:
If a unit gets hit then start timer... when timer expire then do action
But i dont want that to affekt other units if they gets hitter second after... then i want those units to accully have a timer so they get action as well in correct time.
Ok to explain this i have this:
Event
unit gets attacked
Action
Pause unit
Create a stun effekt on unit
< i need a timer here that would go for eatch and one unit that gets attacked. not that all gets unpused same time... but with their eatch 2 sec time or so... >
Unpause unit
Its for a td... and i got dmg detection system... so its event unit gets dmgaged.
Please help?
What i need:
A timer that goes on when triggered by a event that can be multi triggered... And i dont want all to get triggered by same.. like this:
If a unit gets hit then start timer... when timer expire then do action
But i dont want that to affekt other units if they gets hitter second after... then i want those units to accully have a timer so they get action as well in correct time.
Ok to explain this i have this:
Event
unit gets attacked
Action
Pause unit
Create a stun effekt on unit
< i need a timer here that would go for eatch and one unit that gets attacked. not that all gets unpused same time... but with their eatch 2 sec time or so... >
Unpause unit
Its for a td... and i got dmg detection system... so its event unit gets dmgaged.
Please help?