Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-11-2008, 09:25 AM
Knight Knight is offline
Banned
Join Date: Sep 2007
Location: United States
Posts: 230
Knight will become famous soon enough
Send a message via MSN to Knight
Removing a variable from DB

When you have a database that holds a bunch of different variables (dynamics in my case) and you take one of the variable values and you set it to NULL, it takes the value of the var and sets it to NULL, but the variable itself still remains. The same is true if you use
DBName.variablename.clear();
and
DBName.variablename = "";

Does anyone know of a surefire way to remove a variable from a database NPC? There are ways such as using = ""; to make it appear as though the variable has been deleted (because variables with this value are not displayed in the NPCdump for that DB) when infact they still remain.

Thanks for the help!

- Knight
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 03:49 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.