• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Spell] Hero Root/Uproot

Status
Not open for further replies.
Level 9
Joined
Apr 4, 2004
Messages
519
I'm working on a hero based off of the Ancient of Lore. His niche would be that he's able to root/uproot himself at command.

Uprooted he would be unable to attack but able to move. Able to cast spells.

Rooted he would be unable to move but able to attack. Able to cast spells.

This is working so as I want it so far. It's a normal ability he'll start with.

But whenever you use Root he plays his animation of morphing into a building but then starts playing the Birth animation until he attacks or uproots again.

Is there a way to fix this so when he's done playing his Root animation he'll just stand around instead of playing his Birth animation until you prompt him to attack to cancel it? Making a trigger so that when he's casting the ability it'll queue Stand Alternate doesn't work.

*EDIT*

I forgot to mention I based this ability on the Bear Form ability.
 
Last edited:
Level 9
Joined
Apr 4, 2004
Messages
519
It seems using the event
  • Events
  • Unit - A unit Finishes casting an ability
instead of
  • Events
  • Unit - A unit Starts the effect of an ability
fixed the problem for me.

I do have an additional question relating to this hero. How do I increase the range of his abilities when he's rooted, and revert them back to their original range when he's uprooted again? Do I need to make duplicate of each of his spells and switch them out each time he casts Root/Uproot, and if so, how do I do that reliably?

If not, what options are there?
 
Level 9
Joined
Apr 4, 2004
Messages
519
Alright, thanks for the help. How do I detect which form he currently is in to make the proper switch of spells each time?
 
Status
Not open for further replies.
Top