ID:891389
 
(See the best response by Kaiochao.)
Problem description: I am trying to change a players variable at logout back to 0. I have tried using the mob/Logout() proc and the client/Del() proc and neither seem to work for me. Any help would be greatly appreciated. Thanks!

Best response
If you're trying to prevent a variable from being saved, declare it as a tmp (temporary/not-saved) variable.
mob
var
tmp
not_saved


Alternatively, you should just make sure you're doing this change BEFORE saving the variable.
Thank you! that fixed it! Never really understood how tmp worked until now. Thanks!