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

[Trigger] Cast Time Animations

Status
Not open for further replies.
Level 4
Joined
May 16, 2009
Messages
61
Say if i was casting a spell that had a 3 second cast time then my unit just stands there how do i give it the spell animation while casting?
The unit model is an Orc Warlock
 
Art Animation names do not work (example: Wind Walk, go try it out...).

  • Channel
    • Events
      • Unit - A unit Begins channeling an ability
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Ability being cast) Equal to [Your Ability]
        • Then - Actions
          • Animation - Play (Casting unit)'s Spell - CallStorm animation
        • Else - Actions
I know this works, but I don't know if there's an easier method.
The Warlock is the only unit with this animation name and is therefore an exception to the "Spell Channel" animation.
 
When does the animation stop?
and do i really need
  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
 
When does the animation stop?
and do i really need
  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)

Depends on how many abilities you want to use it for.
If you have more than 1 ability, you need it (otherwise you need 2 triggers for each ability, with the if/then/else, you can put all abilities in the same trigger).


  • Channel
  • Events
    • Unit - A unit Begins channeling an ability
  • Conditions
  • Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Ability being cast) Equal to [Your Ability]
      • Then - Actions
        • Animation - Play (Casting unit)'s Spell - CallStorm animation
      • Else - Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Ability being cast) Equal to [Other Ability]
      • Then - Actions
        • Animation - Play (Casting unit)'s Spell Channel animation
      • Else - Actions
The animation stops if you do anything else with the unit, no need to stop it with a trigger...
 
XD I've tried before the *channel* *play animation* trigger, it wouldn't work. I'm seeking for a solution for this problem too =D So, continue helping =D

I've tested it, it does work.
You just need to check the channel animation of the unit ^^
(most of the time it's "Spell Channel" or "Stand Channel", but it's not always the same...).
Also note that not all models have a channel-animation.
 
-.- it doesn't

Here is a map, see for yourself.
Wind Walk and Divine Shield do originally not have a channel animation (I've made it so you can check that).

It has the Orc Warlock - as requested by the thread starter - and the paladin, so you can compare.
There is 1 hero that I left without channeling triggers, so you can check it.

I don't know how your warcraft looks like, but I can see them channeling the spells...
 

Attachments

the orc warlock's callStorm animation doesn't channel for 3 seconds but it there a way to make him do the animation multiple times in a row so it fill up the whole 3 second channel?
 
the orc warlock's callStorm animation doesn't channel for 3 seconds but it there a way to make him do the animation multiple times in a row so it fill up the whole 3 second channel?

Yeah, it was just a map I've made in a hurry to proove that it does work, I didn't really pay attention to anything else ^^
I guess I'm right in this case :cute:

you're welcome :)
 
Status
Not open for further replies.
Back
Top