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

[General] Destroying Variables

Status
Not open for further replies.
Level 33
Joined
Mar 27, 2008
Messages
8,035
You simply don't "destroy" variables lol.
It is you are destroying or clearing the memory handle for the variable it holds, not destroying the variable itself.

Such as location, you don't destroy the variable TempLoc, but you just destroy the memory handle in which it holds the memory of a location inside the game, that if you don't use it anymore, you should clear it as it consume memory.
 
Status
Not open for further replies.
Top