View Single Post
  #11  
Old 01-07-2009, 06:59 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Quote:
Originally Posted by xXziroXx View Post
Wrong. Variables/arrays disappear when set to NULL, strings disappear when set to "" (empty string), and TStaticVar's when clearVars()'ed. At least if my memory serves me right.
If you are refering to database npcs as well, you are still somewhat wrong. I thought it would make sense that variables disappear when setting them to nil, so I did exactly that. Before I did it, the variable was holding an integer number. And if I recall correctly, it's the same problem with arrays. But it works for me all the time using an empty string. Don't ask me why, I don't even bother anymore, I already accepted all the weird stuff Graal has to offer a long time ago.
Reply With Quote