Just wondering, is there a way to disabling/re-enabling a unit's Shields via trigger? Example: A Zealot can manually put up a shield(enabling shields), but when that shield is depleted, he cannot use that shield again for 10 seconds(disabling).
Data Editor
I guess using Ability (Apply Behavior On-Off)
Look at banshee's cloak
Have a behavior that changes vitality (shield, whatever the amount zealot has). {If you want the shield to be on from the start and disable it using the ability, change vitality fraction of shield to 0 instead}
Make Validator, unit has less or equal to 0 shield; put that on the behavior and ability, to disable them (look at banshee's cloak and how they do it, it's quite simple)
Put the behavior in the apply behavior On-Off shield
Trigger
Just add the behavior and remove it, using conditions checking its shield value
Just wondering, is there a way to disabling/re-enabling a unit's Shields via trigger? Example: A Zealot can manually put up a shield(enabling shields), but when that shield is depleted, he cannot use that shield again for 10 seconds(disabling).
Data Editor
I guess using Ability (Apply Behavior On-Off)
Look at banshee's cloak
Have a behavior that changes vitality (shield, whatever the amount zealot has). {If you want the shield to be on from the start and disable it using the ability, change vitality fraction of shield to 0 instead}
Make Validator, unit has less or equal to 0 shield; put that on the behavior and ability, to disable them (look at banshee's cloak and how they do it, it's quite simple)
Put the behavior in the apply behavior On-Off shield
Trigger
Just add the behavior and remove it, using conditions checking its shield value