1. The contestants were to create water structures for the 20th Terraining Contest. Choose one in the public poll!
    Dismiss Notice
  2. Join other hivers in a friendly concept-art contest. The contestants have to create a genie coming out of its container. We wish you the best of luck!
    Dismiss Notice
  3. The Melee Mapping Contest #4: 2v2 - Results are out! Step by to congratulate the winners!
    Dismiss Notice
  4. We're hosting the 15th Mini-Mapping Contest with YouTuber Abelhawk! The contestants are to create a custom map that uses the hidden content within Warcraft 3 or is inspired by any of the many secrets within the game.
    Dismiss Notice
  5. Check out the Staff job openings thread.
    Dismiss Notice

Animation Switching

Discussion in 'World Editor Help Zone' started by BiroN, Apr 28, 2016.

  1. BiroN

    BiroN

    Joined:
    Sep 10, 2013
    Messages:
    358
    Resources:
    0
    Resources:
    0
    If a model has two sets of attack animations (a set for 1 handed weapon and another for 2 handed weapon), do I have to use triggers to switch between the attack animation types, or is there another way? I heard of 'animation tags' but I don't know how to use them.

    For example if a unit has
    Attack First 1, Attack First 2 for 1 handed weapons, and
    Attack Second 1, Attack Second 2 for 2 handed weapons.

    Is there a way to select the animations without triggers?
     
  2. Nichilus

    Nichilus

    Joined:
    Sep 26, 2009
    Messages:
    1,968
    Resources:
    0
    Resources:
    0
    I will refer to the human peasant unit for the example of animation tags.
    The animation names for peasant are something like this: Stand, Stand Gold, Stand Lumber, Walk, Walk Gold, Walk Lumber, etc.

    The reason why you see the peasant unit return with gold bag in hands when returning with gold is because during that time, he has set the "Gold" animation tag, meaning he will play only animations which contain the word "Gold".

    Same with demon hunter unit. All the animations during metamorphosis are labeled as "Alternate", so all you need is set the animation tag for Alternate to play only those animations.

    The action for it is in the "Animation" submenu... something like "Animation - Add/Remove Animation Tag"

    So to use those, you need to see the pattern in animation names of your unit... if a set of animations contain a specific word (e.g. alternate, gold, etc.), you can set an animation tag to play only those animations.
     
  3. BiroN

    BiroN

    Joined:
    Sep 10, 2013
    Messages:
    358
    Resources:
    0
    Resources:
    0
    Extremely helpful. Thank you very much. I'm gonna have some fun with this :)