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

Need help with disabling autocast {how to remove autocast?}

Status
Not open for further replies.
Level 6
Joined
Apr 23, 2008
Messages
263
So i have this spell called Inner Fire, which you can right-click to make it autocast, the thing is that i want to disable the autocast ability, is this even possible?
 
Level 16
Joined
Jul 21, 2008
Messages
1,121
So i have this spell called Inner Fire, which you can right-click to make it autocast, the thing is that i want to disable the autocast ability, is this even possible?

That isn't possible. You can make it only with triggers.


EDIT: Added trigger
1. Create a dummy unit with your custom inner fire.
2. Create a Ability based on Storm Bolt or any target spell.
- - You can also use channel. See this thread for more info
3. Implement this trigger

  • Inner Fire
    • Events
      • Unit - A unit Finishes Casting an Ability
    • Conditions
      • (Ability being cast) Equal to <YourAbility>
    • Actions
      • Set TempPoint = (Position of (Hero manipulating item))
      • Unit - Create 1 <Dummy> for (Owner of (Hero manipulating item)) at TempPoint facing Default building facing degrees
      • Set Dummy = (Last created unit)
      • Unit - Order Dummy to <AbilityOrderID> (Hero manipulating item)
      • Unit - Add a 1.00 second Generic expiration timer to Dummy
      • Custom script: call RemoveLocation(udg_TempPoint)
      • Custom script: set udg_Dummy = null
 
Level 6
Joined
Apr 23, 2008
Messages
263
Which one of the abilities goes where? (inner fire and storm bolt)

and why do you use (hero manipulating item) when there is no item involved? i dont get why this would work
 
Level 6
Joined
Apr 23, 2008
Messages
263
If i set the first condition to Storm bolt the trigger will never kick off since no one will cast the storm bolt ability? ahhh i think i get the whole thing now, the storm bolt will be my activating spell right?
 
Level 2
Joined
Jun 4, 2009
Messages
8
im really new i dont understand why you would use storm bolt or chain lightning. would it work even if i didn't have the hero using either of those abilities??
 
Status
Not open for further replies.
Top