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

Can you save a Point to a hashtable? (Sharpcraft Editor 1.28.5)

Status
Not open for further replies.
Level 11
Joined
May 31, 2019
Messages
150
I saw in another thread someone suggested using call SavePointHandle(udg_HashTable, X, Y, udg_tmpPoint), but when i saved, it said that was not a defined function. Is there a way to do this? If not, what might be a good alternative?
 
Level 6
Joined
Dec 29, 2019
Messages
82
I saw in another thread someone suggested using call SavePointHandle(udg_HashTable, X, Y, udg_tmpPoint), but when i saved, it said that was not a defined function. Is there a way to do this? If not, what might be a good alternative?
If you want to save point, then i suggest to save it as real values one for coordX one for coordY, if you want to save Location which is wc3 object with X,Y attributes then use SaveLocationHandle native, but dont forget to call RemoveLocation() fun when u won't need that location anymore, otherwise it will generate memory leak
 
Status
Not open for further replies.
Top