- Joined
- Aug 7, 2013
- Messages
- 1,342
Hi,
Is it possible to set the string name of a hero unit you create, or change it?
For example, suppose I have the following string names for a single Dreadlord hero: ["Detheroc", "Balnazzar", "Algamon"],
and then at some point I get a handle on an actual Dreadlord unit in the map.
Is there a function or native I can call to change it's name?
Or, if I can't dynamically modify it, when I create a hero unit, can I decide what name it will get?
Is it possible to set the string name of a hero unit you create, or change it?
For example, suppose I have the following string names for a single Dreadlord hero: ["Detheroc", "Balnazzar", "Algamon"],
and then at some point I get a handle on an actual Dreadlord unit in the map.
Is there a function or native I can call to change it's name?
Or, if I can't dynamically modify it, when I create a hero unit, can I decide what name it will get?