I need a way to turn on sets of booleans on after certain dialogues with NPCs. I can't use quest stages because the booleans do not have a particular order and can be accessed by the player in any order. I can't use global variables because I have over 200 of these booleans that I need to process and it's too much work via single global variables.
How would I make this 'global array' that persists in save states and can be accessed by both condition functions and script?
Edit: Even having a number to bitmask would be great, but the problem is having it persist, and I don't know if papyrus can check/use bitmasks.