• 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.

Unit Morph

Status
Not open for further replies.
Level 2
Joined
Apr 11, 2008
Messages
8
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.
 
Level 6
Joined
Jun 14, 2008
Messages
176
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.
 
Level 5
Joined
Nov 14, 2007
Messages
161
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.
Top