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

Forcing animations...

Status
Not open for further replies.
Level 12
Joined
Oct 23, 2007
Messages
565
umm,
Event:
-Time
--Periodic event, every 1s? of game time

Action:
-animation
--Play units walk animation

not sure if the event is needed

but if it is, then the animation will only play once, that is probable the reason you dnt see it.

make the trigger i wrote above
then activate it through the original trigger using action:
Trigger, run trigger.
 
Level 15
Joined
Aug 18, 2007
Messages
1,390
I had the same problem, but using the Jass version of play animation works.
2sec, and ill get you the code.

call SetUnitAnimationByIndex(udg_YOURUNIT,1)

The "1" is the animation index. Just keep testing/changing the number till her walk animation plays. I guess her walk animation is 6.

You can use the Animation - Reset (unit) animation
to reset it back to what shes doing.
 
Level 8
Joined
Nov 9, 2008
Messages
502
So using that jass funtion i could force blademaster to play attack slam animation while he is walking (moving to a point), to create a jumping slam?
 
Status
Not open for further replies.
Top