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

Animation prob

Status
Not open for further replies.
Level 10
Joined
Jan 21, 2007
Messages
576
Ok i want the satry soulstealer to play animation stand -4 but when i tell it to do stand -4 it just does normal stand, someone said you can only do animation indexs in jass, if so can you type it for me?
It would be something like. Sorry cant do trig tags right now on comp without WE dont know what it looks like but this should be about it.
Player 1 red skips cinematic scene
Play Stayr Soulstealer 0001 stand -4 animation.
 
Level 10
Joined
Jan 21, 2007
Messages
576
Yes he does have a stand 4.
So warn i put that in but then what, how do i tell it do do stand 4, im not jass orientated at all
 
Level 13
Joined
Jun 22, 2004
Messages
783
You need to copy the part that says
"SetUnitAnimationByIndex (unitvariable, integer)"

then you make a unit variable, and select the satry as unit for the variable.
Then you make another action, select "Custom script", and paste the copied text in there.

Then remove the part that says "unitvariable" with your unitvariabe's name. (Note * It's case sensitve).

Then remove the part that says integer with the index number of the unit's animation.

You can look up the index number with the warcraft viewer.
 
Blizzard GuI has that. As far as I know (ive done it) you can play a unit's animation. do :

Action: (player skips cinematic)
Condition: (in this case none)
Unit: Animation - Play (Satyr 001)'s (stand 4) animation

when looking at the unit and you want to play an animation you have to put it in EXACTLEY the way it has in editor. so stand -4 will not work. it has to be: stand 4
done
 
Level 6
Joined
Mar 12, 2007
Messages
190
god dang you jass experts can't think about triggers can u like Deep sea kraken said there is a wayjust make what he typed or if u want it every... o lets say 4 seconds do the every 4 seconds one u can do whatever u want as long as u have this action: Unit animation - play (satyr 001)'s (stand 4) animation but of course that was posted by deepsea. :grin: and u can just put in a variable for (satyr 001)'s spot so that it does all satyrs or a satyr in region or something (i am not that good with variables..... yet):spell_breaker:
 
Status
Not open for further replies.
Top