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

Convert Unit-Type to String problem

Status
Not open for further replies.
Level 9
Joined
Jul 10, 2011
Messages
562
Hey guys...

ive got a problem i cant solve myself.

for my item restriction system i need to save unit types in a hashtable. the problem is that you cant save unit types directly so i used 'convert unit-type to string' and save the string.

now after several hours of triggering, testing & changing i recognized that its somehow not possible to convert the string back to a unit-type. (tested it with a simple create 1 (load X of Y from Hashtable) for player Z at....and so on ; and its just not spawning even though the debug message runs)

does 'convert string to unit-type' bug or something? or isnt it working in GUI? if so, is there any solution for my problem?


thanks in advance

greetz clapto
 
Status
Not open for further replies.
Top