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