• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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