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).
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.
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").
0
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).
0
In reply to DrSuperEvil:
0
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?
0
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").