Warcraft III resources & community, 2003–2006 · archived

Attack Animations

6 posts
#1

Attack Animations

This has been driving me insane all day. I've been trying to use the individual attack animations on the blood mage for various things, but i can't figure out how to make only one attack animation play!

I've tried "attack" "attack one" "attack, one" "attack three" "attack, three" "attack 1" "attack -1"

when i use concatenate strings in a trigger to add "attack" and anything he just stands there.
when i use "attack one" as one string in a trigger or use any of the strings from paragraph 2 in a spell he uses any one of his 3 attack animations, i don't want that, i want only one attack to play 100% of the time.
#2
You mean to play a specific attack animation? I'm afraid I don't think this is possible. I have tried this too.
#3
i think the only way is to specify rarity.
#4
You can do it through JASS, every animation has indes like 1,2,3, and so on. Each unit has different index anim, let says unit x walk anim indexed with 5, unit y walk anim indexed with 3. Then call JASS function (sorry, I don't remember) which will order a unit to do its anim based on index.
#5
Ah Leopard you are the best! I though this was impossible to do! :P

Here is the function.

call SetUnitAnimationByIndex(unit, integer)

To know which animation begin with "Stand - 1" and then just click until you get the animation you want. The amount of times you clicked is the animation index. Like if you use a Tauren Chieftain click 6 times to get his animation where he thrusts with his halberd, "Attack - 2". Forget about that "2". It has nothing to do with the index.
#6
Thanks for ur responses guys, i was trying to avoid having to learn JASS. I've found some kick ass models on this site that i might be able to use as a work around anyway. So ha! take that JASS :P