I tried creating a spell that deals damage when the target unit is moving, similar to the Rupture spell from DotA. I went about it by applying a buff that is disabled when a Validator detects that the unit is not moving. I tried two things.
The first Validator was a Unit Compare Order Count.
It did not work. The behavior would not deal damage to the unit as long as the caster was alive; when the caster died, the behavior started working, ignoring whether the unit was moving or not.
Then I tried another Validator of Unit Order Queue type that seemed to be more successful.
After some tweaking, the behavior would deal damage to the target while the caster was alive, but it still didn't care whether the unit was moving or not.
I would appreciate the help or tips on this matter. Thank you in advance.
I tried creating a spell that deals damage when the target unit is moving, similar to the Rupture spell from DotA. I went about it by applying a buff that is disabled when a Validator detects that the unit is not moving. I tried two things.
The first Validator was a Unit Compare Order Count.
It did not work. The behavior would not deal damage to the unit as long as the caster was alive; when the caster died, the behavior started working, ignoring whether the unit was moving or not.
Then I tried another Validator of Unit Order Queue type that seemed to be more successful.
After some tweaking, the behavior would deal damage to the target while the caster was alive, but it still didn't care whether the unit was moving or not.
I would appreciate the help or tips on this matter. Thank you in advance.
Instead of using those two validators use:"Unit Compare Speed" and set it to these value's(Look Attachment).
@patrickwobben: Go
Thank you, mate! This fixed my problem completely!
No Probs, It's nice to see it working =3
Real challenge is detecting turning in a specific direction.
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