When the unit is low on Health? Yes. there are already Validators setup, for example, Life < 1/2 HP, or Life > 0 HP. Just put that validator in your Behavior's Behavior - Validators (Disable) field. Voila. It will only work if your unit has X amount of HP or more/less, depending however you want it to be.
When the unit is damage, yes again. There are validators types called Unit Compare Damage Taken Time. I believe those are the ones you need for that.
For when a unit kills another unit... hmmm. I couldn't get this one to work, but I didn't specifically try too hard. There's a validator type, Unit Compare Death, and I set the validator to Target... and but the validator in a behavior's disable field, but it did nothing... I had the behavior right away, no need to kill. But it's a place to start.
wow thanks a lot, thats a very good point to start. i try to figure it out the validator for the killing thing, and if it doesnt work, i have no problem to use the low on health validator. so i gonna rename my behavior from "rage" to "fight for your life" :)
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
hi, is it possible to activate a behavior when the unit kills another unit? or when the unit is low on health? or the unit is damaged?
can i set this in the data editor or do i have to use trigger for that?
I don't know how to do the first on the data editor, but i know how to make on the trigger.
The second one maybe is possible with the data, if you create a passive ability that got the low health condition
@skullbonejp: Go
When the unit is low on Health? Yes. there are already Validators setup, for example, Life < 1/2 HP, or Life > 0 HP. Just put that validator in your Behavior's Behavior - Validators (Disable) field. Voila. It will only work if your unit has X amount of HP or more/less, depending however you want it to be.
When the unit is damage, yes again. There are validators types called Unit Compare Damage Taken Time. I believe those are the ones you need for that.
For when a unit kills another unit... hmmm. I couldn't get this one to work, but I didn't specifically try too hard. There's a validator type, Unit Compare Death, and I set the validator to Target... and but the validator in a behavior's disable field, but it did nothing... I had the behavior right away, no need to kill. But it's a place to start.
wow thanks a lot, thats a very good point to start. i try to figure it out the validator for the killing thing, and if it doesnt work, i have no problem to use the low on health validator. so i gonna rename my behavior from "rage" to "fight for your life" :)