• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Unit Morph

Status
Not open for further replies.

Jeeyo

J

Jeeyo

Can I make a trigger where the unit will morph every 2 to 5 seconds but only the model file will change and the unit's stats and abilities will remain constant.Tnx.All your replies will be fully appreciated.
 
You can try basing the ability off of "Chaos (Peon)" for example. I think the "Chaos" abilities make a unit automatically transformed to a certain unit, it's a passive ability and no icon shows, the unit transform immediately when they get the ability I think.

For your unit, just make the same unit with same stats but with different model.

Then, for "Chaos (Peon)" edit the "Data - New Unit Type" to the unit you want the unit to change into.

Make a trigger like this
  • Untitled Trigger 001
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • Trigger - Turn off (This trigger)
      • Unit - Remove Ability from (Triggering unit)
      • Set Ability = Chaos (Peon)
      • Unit - Add Ability to (Triggering unit)
      • Wait 3.00 seconds
      • Unit - Remove Ability from (Triggering unit)
      • Set Ability = Chaos (Kodo Beast)
      • Unit - Add Ability to (Triggering unit)
      • Wait 3.00 seconds
      • Unit - Remove Ability from (Triggering unit)
      • Set Ability = Chaos (Shaman)
      • Unit - Add Ability to (Triggering unit)
      • Wait 3.00 seconds
      • Trigger - Turn on (This trigger)
In this example trigger, it'll make the unit change from a Peon, to a Kodo Beast, to a Shaman every 3 seconds.

Just edit the abilities as you need to.
 
Make a trigger like this
  • Untitled Trigger 001
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • Trigger - Turn off (This trigger)
      • Unit - Remove Ability from (Triggering unit)
      • Set Ability = Chaos (Peon)
      • Unit - Add Ability to (Triggering unit)
      • Wait 3.00 seconds
      • Unit - Remove Ability from (Triggering unit)
      • Set Ability = Chaos (Kodo Beast)
      • Unit - Add Ability to (Triggering unit)
      • Wait 3.00 seconds
      • Unit - Remove Ability from (Triggering unit)
      • Set Ability = Chaos (Shaman)
      • Unit - Add Ability to (Triggering unit)
      • Wait 3.00 seconds
      • Trigger - Turn on (This trigger)

you have no triggering unit.

i didnt really look at his trigger at all and have no idea if this will work. but to get his to work, put all that in a unit group getting all units matching a certain unit type or whatever u need. then cahnge all the "triggering units" to "picked units"
 
Status
Not open for further replies.
Back
Top