There's a field called "Validator (Remove)" or something like that, directly beneath the field for disable, use that instead.
If that's not what you are looking for, disabled behaviors are removed through the same methods as enabled ones - Remove Behavior effect, unit death, behavior expiring, trigger removal.
ty for the fast answer. I cant remove the behavior with an Effect (Remove Behavior). With trigger is the same Problem. Soon as the behavior is via validator disabled i cant remove them.
You need to get the disabled behaviour to remove itself via validators. Just give the unit a second buff that a Unit Compare Behavior Count validator checks for to remove the other.
True when disabled buffs cannot be affected by the Remove Behavior effect.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
True when disabled buffs cannot be affected by the Remove Behavior effect.
Ah, I did not know that.
And yeah, you can maybe try using a second behavior: Create a Combine validator, add the one you need into it, then add a validator that checks for a dummy behavior, and set it to "Or". Then instead of using a remove behavior, add the dummy behavior (enabling the first behavior) and have it use the remove behavior as the initial effect or so.
disabled buffs cannot be affected by the Remove Behavior effect.
Dude, you just helped me find the source of a bug that's been pissing me off since forever. I would never have guessed it was coming from this. Thanks! (I still need to find a way to make the behavior last for a minute no matter if it's been disabled or not though, but at least I know where to look now!).
Hi,
how can i remove an behavior which is disabled via validator.
thx
There's a field called "Validator (Remove)" or something like that, directly beneath the field for disable, use that instead.
If that's not what you are looking for, disabled behaviors are removed through the same methods as enabled ones - Remove Behavior effect, unit death, behavior expiring, trigger removal.
Hi,
ty for the fast answer. I cant remove the behavior with an Effect (Remove Behavior). With trigger is the same Problem. Soon as the behavior is via validator disabled i cant remove them.
thx
@TheAlmaity: Go Except that disabled behaviors won't expire, their time durations are paused when they are disabled.
You need to get the disabled behaviour to remove itself via validators. Just give the unit a second buff that a Unit Compare Behavior Count validator checks for to remove the other.
True when disabled buffs cannot be affected by the Remove 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
Ah, I did not know that.
And yeah, you can maybe try using a second behavior: Create a Combine validator, add the one you need into it, then add a validator that checks for a dummy behavior, and set it to "Or". Then instead of using a remove behavior, add the dummy behavior (enabling the first behavior) and have it use the remove behavior as the initial effect or so.
Still say getting the disabled buff to remove itself is more effective.
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
Dude, you just helped me find the source of a bug that's been pissing me off since forever. I would never have guessed it was coming from this. Thanks! (I still need to find a way to make the behavior last for a minute no matter if it's been disabled or not though, but at least I know where to look now!).
Just have two behaviours. One is not disabled and hidden with a 1 min duration that when it expires the other is removed via validators.
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