View Single Post
  #4  
Old 06-02-2009, 11:45 PM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
You can also do:

player.items.(@ temp.id) = new TStaticVar();
player.items.(@ temp.id).destroy();

Deletes the variable and all it's sub variables right there on the spot. You might have to do the player.items.(@ temp.id) = new TStaticVar(); before you add any subvariables to it though (which I always find is a good idea anyways if you are ever wanting to delete a mass of subvariables ever like so.
__________________
Do it with a DON!
Reply With Quote