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

Item ID, Unit ID in hashtables?

Status
Not open for further replies.
Level 12
Joined
May 21, 2009
Messages
994
Well, I got a problem, maybe I just overlooked something but is it possible to save Id's in hashtables? Because when I try to SaveInteger(hashtable, blah, blah, 'ratf') for example then I get a number instead like: 103294592. If you know a solution, then please post. :)
 
Level 12
Joined
May 21, 2009
Messages
994
Well thanks alot both, it is just that I need to store a destructable ID in a hashtable, then later use it to create a new destructable of the stored type. But thanks alot, I'll go calculate it ;) also I think I saw a function that did it once. Can't remember where though.
 
Level 12
Joined
May 21, 2009
Messages
994
Thanks alot, both of you. :) You just made me able to continue my project.

EDIT: I just found out that it had nothing to do with the ID's but something to do with CreateDestructableZ(). But I still appreciate your help alot :)
 
Status
Not open for further replies.
Top