• 🏆 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!

[Solved] About Metamorphosis

Level 7
Joined
Oct 6, 2022
Messages
135
Hello guys, Good Morning/Afternoon/Evening i would like to know how to make the hero do the metamorphosis like this.

Normally, user is melee and can cast the 1st & 2nd skill normally("Skills that requires triggers", you could take "Flash Attack" skill discussion as one of the materials it'll be use as one of the "Skills that requires triggers" : [Spell] - Flash Attack skill help ).

But if the user cast the 3rd skill where the user gets a buff then cast either the 1st or 2nd skill, it'll cancel the clicked skill and hides 1st and 2nd skill and forms a metamorphosis becomes range attacker when 1st and 2nd skill detects if you have that 3rd skill buff
After the metamorphosis, the user returns to normal form. As long as the user doesn't use the 3rd skill then cast the either the 1st or 2nd skill, the user wouldn't form a metamorphosis.

Note: I've tried to do i but unfortunately i've had a problem.
Expectation: it should be user cast the 3rd skill(User gets a buff) then cast either the 1st or 2nd skill, the hero(Paladin For Example) transforms to its Metamorphosis(Furion For Example)
Reality: user cast the 3rd skill(User gets a buff) then cast either the 1st or 2nd skill, it transforms to itself(Paladin) then after the countdown end it transform to its metamorphosis(Furion) instead.

it'll be great if you guys could help me with this, thanks in advance.
 

Uncle

Warcraft Moderator
Level 64
Joined
Aug 10, 2018
Messages
6,543
There's only two options on Metamorphosis: Normal form and Alternate form. If it's not transforming properly then switch them.

Using your example, Normal form is the Paladin and Alternate form is Furion.

Just look at how Blizzard setup the Demon Hunter and it's Metamorphosis. Follow the exact same pattern.
 
Level 7
Joined
Oct 6, 2022
Messages
135
There's only two options on Metamorphosis: Normal form and Alternate form. If it's not transforming properly then switch them.

Using your example, Normal form is the Paladin and Alternate form is Furion.

Just look at how Blizzard setup the Demon Hunter and it's Metamorphosis. Follow the exact same pattern.
unfortunately it still the same, clicking the metamorphosis manually looks fine. However, when you do it on trigger was messed up. this is the trigger.

  • CA FS
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to (ShaTer) - Flickering Strike
    • Actions
      • Set CA_caster[1] = (Triggering unit)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (CA_caster[1] has buff Berserk) Equal to True
        • Then - Actions
          • Unit - For CA_caster[1], Ability (ShaTer) - Flickering Strike , Disable ability: True, Hide UI: True
          • Unit - Add Metamorphosis to CA_caster[1]
          • Unit - Order CA_caster[1] to Night Elf Demon Hunter - Metamorphosis
          • Unit - For CA_caster[1], Ability Metamorphosis , Disable ability: False, Hide UI: False
          • Unit - Remove Berserk buff from CA_caster[1]
          • Wait 4.00 seconds
          • Unit - Remove Metamorphosis from CA_caster[1]
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • And - All (Conditions) are true
                • Conditions
                  • (Unit-type of CA_caster[1]) Equal to ShadowTerror
                  • (CA_caster[1] has buff Berserk) Equal to False
            • Then - Actions
              • Trigger - Turn on CA Pause <gen>
              • Unit - Create 1 Casting Dummy for (Owner of CA_caster[1]) at ((Position of CA_caster[1]) offset by 260.00 towards (Facing of CA_caster[1]) degrees) facing (Position of (Triggering unit))
              • Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
              • Set CA_dummies[1] = (Last created unit)
              • Trigger - Turn on CA FS DPS <gen>
              • Wait 2.25 seconds
              • Trigger - Turn off CA Pause <gen>
              • Trigger - Turn on CA UnPause <gen>
              • Unit - Order CA_caster[1] to Stop
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • ((CA_caster[1] is alive) Equal to True) and ((CA_caster[1] has buff (ShaTer) FlickerStrike ) Equal to False)
                • Then - Actions
                  • Animation - Reset CA_caster[1]'s animation
                • Else - Actions
            • Else - Actions
 
Top