How do I remove a specific behaviour when a unit reaches 1hp?
I use a buff behaviour with -5 life regeneration on a unit. I only want the unit to die by other players and not by the -5 life regeneration. I hope you can help! :)
Add a Unit Compare Vital validator that checks if unit's curret life is 1 or greater. Then put it under behavior's Validators (Disable). It will block the effect without removing the behavior itself. To remove the behavior completely, put it under Validators (Remove).
Even though the thread is in Triggers section, it's easier done with data.
Hey guys!
How do I remove a specific behaviour when a unit reaches 1hp?
I use a buff behaviour with -5 life regeneration on a unit. I only want the unit to die by other players and not by the -5 life regeneration. I hope you can help! :)
@norbak: Go
Add a Unit Compare Vital validator that checks if unit's curret life is 1 or greater. Then put it under behavior's Validators (Disable). It will block the effect without removing the behavior itself. To remove the behavior completely, put it under Validators (Remove).
Even though the thread is in Triggers section, it's easier done with data.
Thanks buddy. Works like a charm! :)