• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Morphing

Status
Not open for further replies.
Level 7
Joined
Sep 19, 2020
Messages
190
Hi I download this model and create a morph ability but how to change unit animation

"For clarity, the "Morph" animation is an all-purpose transformation, while Spell Gold/Lumber Alternate was meant to be used with triggers as individual transformations for their respective forms. Considering the way animation tags work, both forms have a Morph animation, allowing the Arcanist to transform back into his base state without the same triggering hassle as it would take to get INTO those forms." I readed but I don't understand what it means pls help and if u can send a trigger.
 
Last edited:

Uncle

Warcraft Moderator
Level 64
Joined
Aug 10, 2018
Messages
6,540
  • Animation - Add the alternate animation tag to (Triggering unit)
Animation Tags tell the unit to play it's other animations. For example, adding the "alternate" tag to the Mountain King will change all of his animations to the Avatar versions.

In the case of the Gnome Arcanist it looks like you want to use "Spell Gold/Lumber Alternate" or maybe just "Alternate" for the tag(s).


Keep in mind that Morph abilities are tricky and can only be properly detected using Order Events instead of the standard "A unit starts the effect of an ability".

For example:
  • Metamorphosis
    • Events
      • Unit - A unit Is issued an order with no target
    • Conditions
      • (Issued order) Equal to (Order(metamorphosis))
    • Actions
      • Wait 1.51 seconds
      • Animation - Add the alternate animation tag to (Triggering unit)
The above trigger will add the "alternate" animation tag to the Demon Hunter after it's finished morphing. The Wait is necessary because without it the "alternate" animation tag will be added to the Normal Form Hero rather than it's Demon Form. The reason the Wait is 1.51 seconds is because there is a 1.50 second delay on Metamorphosis, which can be adjusted in the abilities Duration - Normal field in the Object Editor. So we're Waiting for the Demon Hunter to finish his transformation animation before we begin interacting with him.

In other words, when you cast Metamorphosis on Demon Hunter, he's still considered to be in his Normal Form for 1.50 seconds, after that delay he's turned into his Demon Form. So if for example you wanted to add Critical Strike to the Demon Hunter while he's in his Demon Form, you would need to make sure that he's actually finished transforming before doing so:
  • Untitled Trigger 001
    • Events
      • Unit - A unit Is issued an order with no target
    • Conditions
      • (Issued order) Equal to (Order(metamorphosis))
    • Actions
      • Wait 1.51 seconds
      • Unit - Add Critical Strike to (Triggering unit)
 
Last edited:
Status
Not open for further replies.
Top