Does anybody know how to set up a validator that I can use to disable a behavior when the owning unit deals an attack?
Thanks.
EDIT: I'm no longer sure that this is even something that you can do with a validator, or if that would be the ideal way to do it. All I really want is a way to use the data editor to remove a behavior on the casting unit immediately after it attacks.
I believe there is a validator called "Caster Not Attacking" or something similar. You simply put that in the Behavior: Validators (Remove) + field of your behavior.
Rollback Post to RevisionRollBack
The Team - TnTProductions
TnTProductions latest Project - Docking Bay 13
TnTProductions Epic RPG in the making - Psionics: Chaos Rising
Check out our website on wixx! http://bulletbutter.wix.com/tntproductions
Just make a validator that does the reverse. Have a buff that is disabled until you attack which when activated uses a rapid periodic effect that uses a Create Persistent effect as a delay before removing the other behavior.
Hey guys.
Does anybody know how to set up a validator that I can use to disable a behavior when the owning unit deals an attack?
Thanks.
EDIT: I'm no longer sure that this is even something that you can do with a validator, or if that would be the ideal way to do it. All I really want is a way to use the data editor to remove a behavior on the casting unit immediately after it attacks.
I believe there is a validator called "Caster Not Attacking" or something similar. You simply put that in the Behavior: Validators (Remove) + field of your behavior.
@bulletbutter: Go
I need one that disables the behavior after the first attack. That one disables it as soon as an attack is queued.
Just make a validator that does the reverse. Have a buff that is disabled until you attack which when activated uses a rapid periodic effect that uses a Create Persistent effect as a delay before removing the other behavior.
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
How do I get the Create Persistent effect to last until the attack is completed, no sooner no later?
@deleted_7920358: Go
Okay, I'm starting to think that Validators are not the way to do this.
Does anybody know any way to remove a behavior from an attacking unit immediately after its first attack?
Add a Remove Behavior effect to the weapon itself, or use the Damage Response of the behavior.
@Kueken531: Go
Thanks! Damage Response did it. I was unaware that Damage Response could be used on the attacker.
@deleted_7920358: Go
It can, but only if you need to execute an effect. You cannot modify the damage, when used on the attacker.
@Kueken531: Go
Oh, alright. Thanks. I got it working perfectly. First fully made ability! Whew.