I have a unit that is restored to 100% health when it is killed, with a 60 second cooldown. I've got a button that explains the effect and I'd like to show the current cooldown remaining on that button. "Time Use" is the part of Death Response being used to store the cooldown.
I'm confused on what you're saying to do. The existing MU plugs into other things attached to the ability (it also does a knockback and deals damage to units knocked back). I'm not sure what to modify.
The Modify Unit effect type cannot knock back by itself. It can do damage but deaths using that effect type are not accredited to the killing unit.
From what I understand you have a Buff behaviour with either a death response or damage response when fatal that does stuff and want it to show as a cooldown in the command card.
The Modify Unit effect type can be used to adjust weapon and ability cooldowns so you could have an unusable Effect - Instant ability that shows the cooldown via an effect used by the damage response.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
Couldn't figure out how to keep everything hooked up and add that. Ended up just adding a disabling behavior and letting the cooldown be shown through that (when there's no debuff, it's up).
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I have a unit that is restored to 100% health when it is killed, with a 60 second cooldown. I've got a button that explains the effect and I'd like to show the current cooldown remaining on that button. "Time Use" is the part of Death Response being used to store the cooldown.
I would make the button a dummy ability and use a Modify Unit effect used by the death effect to adjust the cooldown.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
I'm confused on what you're saying to do. The existing MU plugs into other things attached to the ability (it also does a knockback and deals damage to units knocked back). I'm not sure what to modify.
The Modify Unit effect type cannot knock back by itself. It can do damage but deaths using that effect type are not accredited to the killing unit.
From what I understand you have a Buff behaviour with either a death response or damage response when fatal that does stuff and want it to show as a cooldown in the command card.
The Modify Unit effect type can be used to adjust weapon and ability cooldowns so you could have an unusable Effect - Instant ability that shows the cooldown via an effect used by the damage response.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
Couldn't figure out how to keep everything hooked up and add that. Ended up just adding a disabling behavior and letting the cooldown be shown through that (when there's no debuff, it's up).