| 05-14-2006, 11:25 PM | #1 |
I'm having trouble playing a unit's "Attack -2" animation when using a spell. When I put in the field "Attack", it works fine. I can't figure out how to use his 2nd attack animation, however. Is there anyway? I've tried doing "Attack", then "-2", but that didn't work. |
| 05-15-2006, 12:02 AM | #2 |
http://www.wc3campaigns.net/showthre...dex#post779794 You will have to use triggers and SetUnitAnimationByIndex (described in the above link). Just make a simple trigger that runs when the spell is cast and uses SetUnitAnimationByIndex and it should work. |
| 05-15-2006, 12:25 AM | #3 |
Ok, I did it with triggers the first time, but I used the GUI's play animation and converted it to JASS. But it didn't work. I'll try that. Thanks. |
