• 🏆 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!

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