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

Keeping items for "hero evolve"

Status
Not open for further replies.
When the event occurs that the hero must change to a new one, you must include six triggers that set an item variable for each item slot.

example
Set [Item1] = Item carried by (Hero) in slot 1
Set [Item2] = Item carried by (Hero) in slot 2
etc

Then, after the new hero has been created, do actions:

Hero - Give [Item1] to (NewHero)
Hero - Give [Item2] to (NewHero)
etc

Hope that helps
 
i would also like to say, when you use: replace unit with unit, and they are both herooes, the new unit will keep the old hero's items and level/experience value. Unless you want a hero starting over at level 1, this way is easyer (I figured this out making a crappy remake on pokemon world (....it doesnt exist anymore XD)) U can also make a trigger to set last replaced unit's experince to 0 even!
 
Status
Not open for further replies.
Back
Top