- Joined
- Apr 30, 2009
- Messages
- 8
I'm curious on how to make it so that when you attack a creep, it'll turn aggressive, then after some time, while not being attacked, turn back to a passive unit.
Example:
You attack Enemy A.
Enemy A goes from Neutral Passive to Neutral Hostile.
You run away.
After 5 seconds of not being attacked, Enemy A turns back to Neutral Passive.
Currently, I've got something that makes it so when a unit's attacked, it turns to its aggressive state, but not something so that after a set time, it reverts back.
Thanks if you can help me.
Example:
You attack Enemy A.
Enemy A goes from Neutral Passive to Neutral Hostile.
You run away.
After 5 seconds of not being attacked, Enemy A turns back to Neutral Passive.
Currently, I've got something that makes it so when a unit's attacked, it turns to its aggressive state, but not something so that after a set time, it reverts back.
Thanks if you can help me.