Hi everyone, I'm really bad with the data editor when it comes to effects, behaviors, validators, etc. I was hoping I could get some help writing a simple series of behaviors that do the following:
If the target with this behavior gets within a configurable (close) distance of its caster, it gets a 20% speed penalty until it's far enough away again
If the target with this behavior gets too far from its caster, it gets a 20% speed boost until it's caught up
I've tried implementing the first one myself but needless to say I've been very unsuccessful.
I plan to apply the behavior with triggers ("Add Behavior").
You need two buffs that have a 1.2 and 0.8 value under the Movement: Modification - Movement Speed Multiplier field. You need an Enumerate Area validator that the caster is within the search radius of the source it returns true. Have a Combine validator that negates the other validator. Add these two validators to the Behavior: Validators (Disable) field of your buffs. Use a Set effect that has two Apply Behavior effects to apply both the buffs.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
And here it is ingame, showing that it clearly isn't working. It has the behavior, the behavior is active, but the speed is still 6 when it should be 3.
There are no validators or requirements, and using that periodic trigger, I can verify that the unit both has the behavior, and that the behavior is active (whereas adding a validator causes it to return false for that second test).
Hi everyone, I'm really bad with the data editor when it comes to effects, behaviors, validators, etc. I was hoping I could get some help writing a simple series of behaviors that do the following:
I've tried implementing the first one myself but needless to say I've been very unsuccessful.
I plan to apply the behavior with triggers ("Add Behavior").
You need two buffs that have a 1.2 and 0.8 value under the Movement: Modification - Movement Speed Multiplier field. You need an Enumerate Area validator that the caster is within the search radius of the source it returns true. Have a Combine validator that negates the other validator. Add these two validators to the Behavior: Validators (Disable) field of your buffs. Use a Set effect that has two Apply Behavior effects to apply both the buffs.
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 either doing something horribly wrong or I highly misunderstand how behaviors work.
If I give this behavior to a unit, their movement speed should be halved, right?
Yes that should halve the max speed of the unit with the buff for as long as the buff is on the unit to within a minimum clamp.
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
In reply to DrSuperEvil:
Does the buff have any validators or requirements disabling it?
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
There are no validators or requirements, and using that periodic trigger, I can verify that the unit both has the behavior, and that the behavior is active (whereas adding a validator causes it to return false for that second test).
If you apply it with an ability does it work?
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