Quote:
Originally Posted by xXziroXx
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.