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

How To Make Custom Abilitys AutoCast

Status
Not open for further replies.
Level 5
Joined
Nov 12, 2007
Messages
134
Yes, you can. If you want to make your spell targets enemies, then make a custom spells out of Faerie Fire or Slow, take out the effects, and set the duration to 0.01. Make a trigger like this:

  • Frost Nova
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Frost Nova (Auto-cast)
    • Actions
      • Unit - Create 1 Dummy for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing degrees
      • Unit - Add Frost Nova (Dummy) to (Last created unit)
      • Unit - Set level of Frost Nova (Dummy) for (Last created unit) to (Level of Frost Nova (Auto-cast) for (Triggering unit))
      • Unit - Order (Last created unit) to Undead Lich - Frost Nova (Target unit of ability being cast)
      • Unit - Add a 3.00 second Generic expiration timer to (Last created unit)

If your spell targets allies, then do the same thing, but base your spell off Bloodlust.

Note: These spells will NOT fire if there is no combat. For example, Slow will NOT fire if the enemy is not attacking you or an ally.
 
Status
Not open for further replies.
Top