• 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.

"Unslow"

Status
Not open for further replies.

hdm

hdm

Level 9
Joined
Nov 19, 2011
Messages
384
What's the tigger of never be slowed and move at maximum speed,such as Shapeshift Lycanthrope ?Don't need to shapeshift the hero into a wolf,just when active he moves at maximum speed and is invulnerable to slow.
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
I think the spam of setting the unit's movement speed to 522 will work.
  • Melee Initialization
    • Events
      • Time - Every 0.03 seconds of game time
    • Conditions
    • Actions
      • Unit - Set Blood Mage 0000 <gen> movement speed to 1000000000.00
      • Game - Display to (All players) the text: (String((Current movement speed of Blood Mage 0000 <gen>)))
This will make the unit will move at haste even you're slowed (tested).

But a 100% slowed, I don't know what to do, the unit will still gets slowed.

I tested this a Slow of ranging from 1% slow to 99% slow, all values work except for 100% slow, the unit will still affected by it.
 

hdm

hdm

Level 9
Joined
Nov 19, 2011
Messages
384
But,I want that a unit cast a spell then he gets the Maximum movement speed." Unit - Set Blood Mage 0000 <gen>" is if the hero is already in the map...
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
LOL, use Variable, that trigger is to experiment things.
Please, learn it.

Also, does this spell supports more than 1 unit to use at a time ?

You know, sooner or later you might wanna learn triggering all by yourselves.

EDIT:
Forget about the Periodic Timer per 0.03 second per interval, you just set this, right after you cast a spell (it will affect your unit's movement speed until you reset it back).
  • Melee Initialization
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Haste
    • Actions
      • Set Caster = (Triggering unit)
      • Set YourRealVariable = (Current movement speed of Caster)
      • Unit - Set Caster movement speed to 1000000000.00
When it is slowed, it will still retain the movement speed of 522 (unless it's a 100% Slow).

To stop it, simply use a Variable to refer to the unit that had casted the spell, come on you can do it.
  • Unit - Set Caster movement speed to YourRealVariable
YourRealVariable is Real type variable that is saved upon casting the spell so you can reset your unit's movement speed to a correct values.
 
Status
Not open for further replies.
Top