Why should a npc need a questflag?
This is what you can do:
pc.setqf('value',1)
pc.getqf('value') -> returns 1
pc.setf('questname','value',2)
pc.getf('questname','value') -> returns 2
Or if you rly need such a function, then save the variables of the npc in a .txt data on your server.
Then you can get and set variables.
|