- Joined
- Aug 1, 2013
- Messages
- 4,658
Hi all.
I am using a lot of hashtables lately but I don't know if I do it right.
I use SaveInteger(hashtable, objectId, parameterId, value) to save integers for example.
(
But when the unit is removed, I do not need the values any more.
To remove the data (I assume that I have to do it to save memory) I can only clear the "child" of a hashtable.
So I can only remove either the X or the Y.
However I do not know if my syntax is right or if I have to do (udg_Hash_Unit_Speed, GetHandleId(whichUnit)) instead.
Also my editor does not highlight any hashtable functions at all. Neither red nor pink.
Is this a known thing that Blizzard makes functions but they are not saved in the hightlighting list?
Help would be appreciated very much
I am using a lot of hashtables lately but I don't know if I do it right.
I use SaveInteger(hashtable, objectId, parameterId, value) to save integers for example.
(
call SaveInteger(udg_Hashtable, GetHandleId(whichUnit), udg_Hash_Unit_Speed, 900.)
)But when the unit is removed, I do not need the values any more.
To remove the data (I assume that I have to do it to save memory) I can only clear the "child" of a hashtable.
So I can only remove either the X or the Y.
However I do not know if my syntax is right or if I have to do (udg_Hash_Unit_Speed, GetHandleId(whichUnit)) instead.
Also my editor does not highlight any hashtable functions at all. Neither red nor pink.
Is this a known thing that Blizzard makes functions but they are not saved in the hightlighting list?
Help would be appreciated very much