make sure that NPC you using for this has his Globals flag turned on - look into npctypes table - there is a collumn like that there - wihout it NPC will not properly store and remember global variable values
EDIT: umm looks like someone allready sugested that... sorry =)
|