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

[Solved] Animation does not play...

Status
Not open for further replies.
Level 14
Joined
Aug 8, 2010
Messages
1,022
Hello! I have an animation problem. There is a spell in the attached map (there are 3 triggers in the whole map, 2 of them are the spell, can't miss them :D). It's called 'Charge' and when the unit casts it, he charges to his target, slashing it for 100 damage. The problem is that i want while the unit is charging, his 'Walk' animation to play. I tried everything in both the 'Cast' and the 'Loop' trigger, but it doesn't play. Help me, please! +rep will be given.

*i was not sure if the place of this thread is here because the dummy spell may have caused the problem (i use Channel and i know it can f*ck up some things)*

Thanks in advance!
 
Last edited:
Level 14
Joined
Aug 8, 2010
Messages
1,022
If i use a variable with array instead of Triggering Unit, the custom script should look like

call SetUnitAnimationByIndex(GetCCaster[udg_CArray](),0)

right?

------------------------------ EDIT ----------------------------------

I have tried both things you said, Maker, but nothing happens. I set the Follow Trough Time to 2 seconds with the 'walk' tag animation set in, but i got nothing. The custom script - i put it in bot the Cast and the Loop trigger, but i still get nothing. Could someone fix it and upload the map here? :? I would be so thankful!
 
Status
Not open for further replies.
Top