• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Animation Problem :S

Status
Not open for further replies.
Level 2
Joined
Apr 16, 2008
Messages
7
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)
 
Level 8
Joined
Aug 23, 2007
Messages
491
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
 
Level 8
Joined
Aug 11, 2007
Messages
272
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.
Top