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

GetObjectName

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