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

Help with auto cast!

Status
Not open for further replies.
Level 7
Joined
Jul 9, 2007
Messages
306
how do i make a non autocast spell, like frost nova, into an autocast spell? and can i still modify the properties of frost nova after it becomes an auto cast?

thanks
 
Level 13
Joined
Jun 10, 2007
Messages
780
To make frost nova into an autocast spell, you could either make a base spell that can autocast to look like frost nova or you could trigger it. By triggering, give the hero a spell that can autocast. Delete all the things on it except the range, icon, manacost, cooldown, button positions, and tooltips (that you want). This will be the dummy spell your hero will have.

Next, trigger something like this.

  • Autocast
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Frost Nova (The one the hero has)
    • Actions
      • Unit - Create 1 SpellDummy for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing (270.0) degrees
      • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
      • Unit - Order (Last created unit) to Undead - Frost Nova (Target unit of ability being cast)
This will make it whenever the dummy spell activates, a dummy unit will frost nova the targeted unit.
 
Status
Not open for further replies.
Top