• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

GetObjectName

Status
Not open for further replies.
Level 19
Joined
Dec 12, 2010
Messages
2,074
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