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

Cancle Abilitys

Status
Not open for further replies.
Level 5
Joined
Jul 17, 2006
Messages
145
If you go into wc3 and set a casting time for an ability, a unit that casts it cannon move or do anything untill the casting time is up. I woud like a trigger or Jass code that allows someone to cancle casting, and i know there is a way to do this. Anyways, anyone who knows how to help me, thanks in advance :p
 
Level 5
Joined
Jul 17, 2006
Messages
145
What i want is, if a unit casts an ability with a casting time, and than tells the unit to move somewhere, it stops casting the ability and instead moves the unit.
 
Level 5
Joined
Jul 17, 2006
Messages
145
make a map, and give a footmen cripple. Set the cast time on cripple to 5. Make a creep, ande then test your map. Tell the footmen to cast cripple on the creap. For the 5 seconds that its casting, it cant move, it cant shoot, it cant do anything, even if you tell it to.
 
Level 7
Joined
Nov 12, 2005
Messages
299
Oh...I though you were talking about abilities such as starfall.
Well I don't really see a way to do this. Perhaps the best solution would be to make a separate spell based of channel and after casting it run a wait. After 5 seconds or so, if the unit's current order is still "channel", create a dummy caster and cast cripple (or whatever you want) on your target.
 
Level 5
Joined
Jul 17, 2006
Messages
145
hmm, maybe i can do something like, player issues unit order, stop casting ability. Anyways, ill look into this later, a bug with a larger priority just popped up.
 
Status
Not open for further replies.
Top