I have a behavior that has a 6 second duration. Using validators I made when the unit moves or is attacked the behavior is disabled. When he stops or leaves combat the timer continues from where it was. I want it to reset the duration timer entirely. How would I do this?
Under Behavior - Buff Flags you find a flag called Extend. Make sure this flag is not enabled and then just reapply the buff using an Apply Behavior effect.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
I have a behavior that has a 6 second duration. Using validators I made when the unit moves or is attacked the behavior is disabled. When he stops or leaves combat the timer continues from where it was. I want it to reset the duration timer entirely. How would I do this?
You would need to add a system that the behaviour is reapplied when enabled again.
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
@DrSuperEvil: Go
And I restate: How?
Under Behavior - Buff Flags you find a flag called Extend. Make sure this flag is not enabled and then just reapply the buff using an Apply Behavior effect.
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