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

GetObjectName

Status
Not open for further replies.
Level 19
Joined
Dec 12, 2010
Messages
2,070
This function is able to return name of unit, item or ability. So why frog do use units instead of any other?
Is there any kind of internal difference between this calls? Do units, used in this function, preloaded in memory when called?

this method is used to support multi-language maps. War3 dont care about visual staff, which is include names and descriptions.
Since 1.20 creating of jass-file which will keep map collided become impossible (whole file now is stored in hash), so there is no way to translate any jass strings without using GetObjectName.
Items/abilities names also works. I wonder about using only units in DotA - is there something problems or what?
 
Status
Not open for further replies.
Top