[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