• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Make Unit Stand Still, Playing Animation

Status
Not open for further replies.
Level 8
Joined
Mar 26, 2009
Messages
301
What I am trying to acomplish here is an autocast shackles ability. I can base the hero ability on fearie fire for example. And make dummy unit to cast the real shackle spell. But:
- Hero needs to look occupied (facing target direction, playing certain animation etc),
(I would try entangling it to prevent movement, but controlling player can make it turn around itself and it would probably interrupt the spellcast animation...)
Actually, couple of other methods come to my mind but, none of them are what I want here exactly. So I am asking you guys.. (to make it like a brain-storm =p)
So what are your suggestions? How do I make an autocast Shackles ability?
(It doesn't need to be MUI, It shouldn't be Jass)
 
This should help you.
A paused unit can't move or be controlled by the player, but can still perform animations.
  • Actions
    • Unit - Pause Caster
    • Unit - Make Caster face Target over 0.00 seconds
    • Animation - Play Caster's spell animation
Use your dummy unit to cast shackle and unpause your casting unit at the end.
Done.
 
Yeah, the problem was; it should be cancelable by player at will, which is not possible with that method. It was too idealistic to think that I could do it that simple lol. I made a non-autocast version. (Shackles also drags the enemy unit, unless canceled; it's not just a shackles =p) Since it will be mostly used by a computer players. I can trigger them to cast the spell at random times =) Thanks for the advise anyway =)
 
Create a custom spell based on Channel and give it some follow through time. Add the channel ability in hidden spell book. When the real ability is autocasted, order the unit to use the (instant) channel ability. Use a small delay there if needed.

You can remove the spell book and then re-add it to abort the channeling or maybe just issue stop order.
 
Status
Not open for further replies.
Back
Top