• 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.
  • 💡 We're thrilled to announce that our upcoming texturing contest is in the works, and we're eager to hear your suggestions! Please take this opportunity to share your ideas in this theme discussion thread for the Texturing Contest #34!
  • 🏆 Hive's 7th HD Modeling Contest: Icecrown Creature is now open! The frozen wastes of Icecrown are home to some of Azeroth’s most terrifying and resilient creatures. For this contest, your challenge is to design and model a HD 3D monster that embodies the cold, undead, and sinister essence of Icecrown! 📅 Submissions close on April 13, 2025. Don't miss this opportunity to let your creativity shine! Enter now and show us your frozen masterpiece! 🔗 Click here to enter!

Making Unit hold "alternate" animation after triggered

Status
Not open for further replies.
Level 9
Joined
Sep 5, 2015
Messages
369
so i spent like 30-40 minutes digging through the gewy ewy woowy (GUI) and finally got this set up lmao
I am proud of it so don't hate

but now i can't figure out how to make the animation play and hold? it only plays when its attacked.
(in fact if you right click it, and then just in time move before doing damage it will play the animation which is sloppy but not a problem and should work but yeah.)

trying to make the mimic move into alernate form, hold it, and gain certain amount of HP (if not just restored HP after "transforming")
thnx
 

Attachments

  • helplol222.PNG
    helplol222.PNG
    955.3 KB · Views: 17
Level 25
Joined
Mar 29, 2020
Messages
1,465
so, you want it to morph and stay in it's morphed form?

If so, you should just replace the unit or use a morphing spell, depending on the effect you are trying to get.

If you write a little more about what exactly you are trying to do with this unit it will be easier to help.
 
Level 9
Joined
Sep 5, 2015
Messages
369
so, you want it to morph and stay in it's morphed form?

If so, you should just replace the unit or use a morphing spell, depending on the effect you are trying to get.

If you write a little more about what exactly you are trying to do with this unit it will be easier to help.
well i tried a morphing spell but AI won't ever use it. i tried replacing metamorphosis on illidin, then tried copying and pasting metamorphosis and putting it on the Mimic/House unit (changing which units is normal and which alternates in the abilitys data etc)
doesn't work.
I'm trying to get the unit to drop down to 25% hp or so, change into it's alternate form, gain it's health back, and continue to fight until it dies. btw

BUT you've helped me out friend i can't believe i didn't realize that lol..
jim-carrey-stupid-stupid.gif
 
Level 9
Joined
Sep 5, 2015
Messages
369
1641608923609.png

this works but (i have a paladin with 0.50 attack speed and i have 4 of them hitting the monster) 2 alternate-animated units will spawn sometimes.

EDIT: i removed the wait time and it seems to be working now lol....although the animation that it plays seems to be immediately canceled by the following action (replace) so i might have to work with it but somehow it magically doesnt repeat animations when attacked think it was when i changed (unit - a unit is targeted) to (unit - a unit is attacked) idk lol the animation is goofy tho and not what i would want. i dont think there is a way to detect when a unit's animation finishes THEN replace it. rip too hard
hope this helps someone in the future if they google for it
 
Last edited:
Level 12
Joined
Mar 13, 2020
Messages
421
View attachment 392925
this works but (i have a paladin with 0.50 attack speed and i have 4 of them hitting the monster) 2 alternate-animated units will spawn sometimes.

EDIT: i removed the wait time and it seems to be working now lol....although the animation that it plays seems to be immediately canceled by the following action (replace) so i might have to work with it but somehow it magically doesnt repeat animations when attacked think it was when i changed (unit - a unit is targeted) to (unit - a unit is attacked) idk lol the animation is goofy tho and not what i would want. i dont think there is a way to detect when a unit's animation finishes THEN replace it. rip too hard
hope this helps someone in the future if they google for it

You can use the wait but you need to Turn the trigger off before

Like this for example

Unit is Attacked

Trigger turn this trigger off
Wait 0.5 seconds
Transform bla bla bla you got it :)


That means after the first attack it will run the trigger and turn all events off and run the rest of the trigger
From the point you set the trigger off in and so you can’t run this trigger again so you need a other trigger for example when he unmorph back to his normal form
To turn your trigger on
 
Status
Not open for further replies.
Top