• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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