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

Ability that changes the name of a unit type

Status
Not open for further replies.
Level 6
Joined
Apr 15, 2012
Messages
205
I have tried to create an ability which transforms the unit into another unit. Instead of replacing the unit I wanted it to be the same unit but with tinted color and a new name. The color tint is done but I can't fix the name change. I have tried with upgrades, when the unit uses the ability an upgrade is added to the owner of the triggering unit. The upgrade sets the name of the unit type from (name1) to (name2).

What happens is that instead of that the upgrade changes the name in-game, it changes it already in the data editor. When I start the game the unit already has (name2).

I heard from someone that the name can be changed with catalog triggers. Can someone tell me how to solve this problem?

EDIT: Wow, catalogs are awesome. I fixed the problem by adding this action to a trigger: Catalog - Set value of Units DevilDog Name for player Any Player to "name2"
 
Last edited:
Status
Not open for further replies.
Top