• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Animation Problem :S

Status
Not open for further replies.

sarasbati

S

sarasbati

Hello =)

(WARNING BAD BAD ENGLISH xD)

my model have 2 atacks animation one is for sword (attack 1) and 1 is for bow (attack 2) i need this:

When my model pick up a bow use the animation for bow and when pick up a sword use the first animation.
How i can do this??

(END OF BAD BAD ENGLISH xD)
 
You'd have to do it with triggers. It would be like...
A hero(or specific hero) picks up (sword or bow) disable attack 1 and enable attack 2. If you dont know anything about triggers I'm sure someone here will post the trigger for you.
 
You'd have to do it with triggers. It would be like...
A hero(or specific hero) picks up (sword or bow) disable attack 1 and enable attack 2. If you dont know anything about triggers I'm sure someone here will post the trigger for you.
Yes, Ok, Warcraft III does involve magic, but hell, this can never be done.
I thought the orbs could work ("Melee Damage Fire Bonus" ability), but now I tested it and i didn't get a result.
You can trigger it though:
  • Attack1
  • Events
    • Unit - A unit acquires an item
  • Conditions
    • (Item-type of (Item being manipulated)) Equal to Bow
  • Actions
    • Unit - Set custom value of (Triggering unit) to 1
  • Attack2
  • Events
    • Unit - A unit is attacked
  • Conditions
    • (Unit-type of (Attacking unit)) Equal to X
    • (Custom value of (Attacking unit)) Equal to 1
  • Actions
    • Animation - Play (Attacking unit)'s Attack - 2 animation
  • Attack3
  • Events
    • Unit - A unit loses an item
  • Conditions
    • (Item-type of (Item being manipulated)) Equal to Bow
  • Actions
    • Unit - Set the custom value of (Triggering unit) to 0
 
Steam tanks use 2 animations because one is attacking ground and the other one is attacking air :|

as for your question, the only way is to do like this
==Unit aquires an item.
==Item = Bow
==Enable attack 2 (bowish)
==Disable attack 1 (swordish)

==Unit aquires an item.
==Item = sword
==enable attack 1 (swordish)
==disable attack 2 (bowish)

cant say for sure as i have not started my WE
 
Status
Not open for further replies.
Back
Top