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

[General] Priest Sit Animation.

Status
Not open for further replies.
Level 4
Joined
Nov 17, 2015
Messages
91
You know how Priest units idle sit down, crossing their legs?
I'd like to know the name of that animation. Thanks! :goblin_good_job:
 
Level 4
Joined
Nov 17, 2015
Messages
91
Well in world editor there is something called model preview on the left everytime you select a unit, you can play the animations and see the names.

It says Stand - 4, now what would I type into (NOTE Stand - 4 does not work)
  • Animation - Play Old man 0013 <gen>'s Stand - 4 animation
 
Level 11
Joined
Aug 24, 2012
Messages
429
I don't think you can specify the number of an animation with a trigger. You can only order the model to play one of any Stand animations, you cannot directly order him to play Stand - 4 animation.

If what I am saying is true (which I'm not sure off ) you would have to export the model and delete Stand 1, 2, and 3 animations so that only Stand 4 remains.
 
Level 11
Joined
Aug 24, 2012
Messages
429
iirc You just have to use the internal name, which I think would be either Stand 4 or stand04 (No capitals or spaces) instead of "Stand - 4"

Using animation names with that action IS case-sensitive, so if you want to be triple-sure on what the animation name is, extract the model and open it.

Huh, I didn't knew that. It's a great tip, I'll keep it in mind, thanks:)
 
Level 14
Joined
Oct 18, 2013
Messages
724
Why is everyone suggesting to edit the model? Reimporting a model just to be able to play an animation sounds crazy in terms of Filesize optimization.

BeeszBuzz, do this;

  • Events
    • Player - Player 1 (Red) skips a cinematic sequence
  • Conditions
  • Actions
    • Set u = Old man 0013 <gen>
    • Custom script: call SetUnitAnimationByIndex(udg_u, udg_i)
    • Game - Display to (All players) the text: (String(i))
    • Set i = (i + 1)
Then go ingame and press Esc until you get the animation you want. Note the last number that appeared. Say that was animation number 5. Then, when you want the Old Man to use that anim, use this Custom Script:

call SetUnitAnimationByIndex(udg_u,5)


(just be sure you're setting the Global Variable u to the Priest Unit.)
 
Level 2
Joined
Dec 13, 2015
Messages
17
follow up question to the priest sit animation, is there a way to make him stay down like that, maybe like freeze the animation or something?
 
Status
Not open for further replies.
Top