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

Keeping items for "hero evolve"

Status
Not open for further replies.
Level 6
Joined
Aug 22, 2006
Messages
253
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
 
Level 7
Joined
Dec 17, 2005
Messages
337
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.
Top