• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[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