• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Need Info] Resetting a Behavior when unit takes damage

Status
Not open for further replies.
Level 1
Joined
Mar 10, 2015
Messages
2
Exactly as title says. I cannot find how to reset a behavior when the affected unit takes damage.

I found the set of damage response entries, but have no idea what values to put where or what each item does.

How do I set this up?
 
Level 9
Joined
Dec 21, 2006
Messages
490
not exactly sure what you mean with reset. i think your buff has a duration and you want it to restart (i.e. 10 seconds, if the unit takes dmg after 5 seconds, buff restarts with 10). go to damage response array. set the propability to 1. then add an apply buff effect to the "Handled" effect field. this effect will readd the behaviour to the source unit. the buff should now restart at 10 seconds.
 
Status
Not open for further replies.
Top