Molehole
New Member
- Reaction score
- 2
Thanks for answers. Used MP's solution because I'm not so into Jass I guess your trigger would've worked as well.
-----------------------------
Is there any possibilty to cease trigger while it's in progress. I would like to do a heal function where if you stop attacking/spellcasting, after around 3 seconds your health starts to regenerate. I have tried to do the trigger with multiple ways but I always face the same problem. I need a command to interrupt trigger completely or another kind of system.
So basically if you don't deal damage for 3 seconds you start to regenerate life. I use GUI-friendly Damage Detection system to detect if the unit does damage.
Please help
And just one more time: I need like an anti-function to "wait for condition" action. Like "wait but no condition" if that makes more sense
-----------------------------
Is there any possibilty to cease trigger while it's in progress. I would like to do a heal function where if you stop attacking/spellcasting, after around 3 seconds your health starts to regenerate. I have tried to do the trigger with multiple ways but I always face the same problem. I need a command to interrupt trigger completely or another kind of system.
So basically if you don't deal damage for 3 seconds you start to regenerate life. I use GUI-friendly Damage Detection system to detect if the unit does damage.
Please help
And just one more time: I need like an anti-function to "wait for condition" action. Like "wait but no condition" if that makes more sense