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

[Wurst] Convert entity ID to ID-string representation

Status
Not open for further replies.
Level 11
Joined
Mar 6, 2008
Messages
898
Hi, is there a standard library way to convert a given ID integer, like
Code:
'A01B'
to its string representation
Code:
"A01B"
?
This would be very helpful to me since I currently try to convert all objects in my legacy map to being generated. However, some units (buildings) are upgraded to other generated buildings and the API for setting
Code:
upgradesTo
is not taking a list of ID integers but a list of strings. I could do this conversion myself but I would be very happy if there was already a standard implementation for it.

Thanks!
 
Status
Not open for further replies.
Top