HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Name of Unit Type

07-03-2006, 09:00 AM#1
nevir
Are there any methods for obtaining the name of a unit type, without creating a dummy instance of it?

Or, if not, should there be any performance considerations I should be aware of when creating dummy instances? (Edit: I'm determining the unit type's name during the map initialization)
07-03-2006, 12:26 PM#2
shadow1500
Collapse JASS:
constant native GetObjectName takes integer objectId returns string
07-04-2006, 01:55 AM#3
nevir
Thank you! can't believe I missed that :P