• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[General] Nullify/Neutralize "movement speed increased" of picked unit

Level 8
Joined
Oct 6, 2022
Messages
191
Hello, is it possible to Nullify/Neutralize the "movement speed increased" effect of a certain picked unit?


example: the triggering unit cast a bladestorm and the picked unit's "movement speed increased" coming from its skill or items such as boots of speed would get Nullify/Neutralize when got hit by bladestorm's aoe.

if this possible, how do i trigger it?
 
Level 31
Joined
Aug 29, 2012
Messages
1,434
Canceling is easy with this action

  • Unit - Set (Picked unit) movement speed to (Default movement speed of (Picked unit))
The painful part is to restore the value. You'd need a variable that checks every unit's movement speed (most likely with an unit indexer), and increase/decrease the value when units receive spells like bloodlust, pick up boots of speed, etc.

Seems awfully complicated tbh
 
Top