• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Can I rename hero?

Status
Not open for further replies.
You can't change the name dynamically, but what you can do is create an upgrade similar to the one that upgrades headhunters to troll berserkers.

To change the name of a unit from A to B, you would need two copies of the unit in the object editor. One of them would have the name A and the other would have the name B.

To change from A to B, you would research an upgrade that changes all units of the first type to the second.
Thus, all units of the name A will now have the name B.

I'm not sure if this truly works though o-o
 
What else you can try is opening the object editor and go where it says "Text - Proper Names" and add how many names you want. Then make a trigger like this:

  • Unit - Replace Hero with a Hero using The old unit's relative life and mana
I don't know how it will work in battles though.
 
What else you can try is opening the object editor and go where it says "Text - Proper Names" and add how many names you want. Then make a trigger like this:

  • Unit - Replace Hero with a Hero using The old unit's relative life and mana
I don't know how it will work in battles though.

This will work BUT if you set 3 Names for the Hero, there is 1/3 possibility that the same name will appear for the Hero, therefore it is not a wise decision
 
Status
Not open for further replies.
Back
Top