[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
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
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.
 
Level 4
Joined
May 16, 2009
Messages
61
When does the animation stop?
and do i really need
  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
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...
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
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.
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
-.- 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

  • Channel.w3x
    13.5 KB · Views: 56
Level 4
Joined
May 16, 2009
Messages
61
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?
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
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.
Top