HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Attack - 2 Animation

05-07-2006, 09:06 PM#1
StockBreak
When setting the animation of a spell, is there a way to make the unit performing for example "Attack - 2" (the second type of attack animation of that unit) while using the spell? I tried many times using many strings combinations such as "attack" + "two" or even "attack" + "-" + "two", but the unit always performs a random attack animation... Some ideas? Thanks.
05-07-2006, 09:24 PM#2
Captain Griffen
Don't think you can in the object editor. However, you can use JASS/custom script via SetUnitAnimationByIndex (or something like that). A search will turn up the exact function.
05-08-2006, 02:16 PM#3
boomwolf
try attack two (or attack 2 i dont remember) in a singel line string...maybe that will work...with a space between...
05-08-2006, 06:43 PM#4
StockBreak
Quote:
Originally Posted by Captain Griffen
Don't think you can in the object editor. However, you can use JASS/custom script via SetUnitAnimationByIndex (or something like that). A search will turn up the exact function.
Uhm, it's useful but I don't like very much JASS scripts, I would prefer an option in the object editor. Thanks anyway!

Quote:
Originally Posted by boomwolf
try attack two (or attack 2 i dont remember) in a singel line string...maybe that will work...with a space between...
It doesn't work, I tried it as first but the unit performs no animation. Thanks anyway.
05-08-2006, 07:08 PM#5
Captain Griffen
Quote:
Originally Posted by StockBreak
Uhm, it's useful but I don't like very much JASS scripts, I would prefer an option in the object editor. Thanks anyway!

There isn't one in the object editor, to my knowledge, so it almost certainly isn't there. You'll have to use a custom script.