• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

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?
 
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
 
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
 
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?
 
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.
Back
Top