If I have a quest script with an array that is filled with junk to store information about the state of the player when the mod is first installed, will this array lose its values if the player saves, quits, and loads the game? If yes, how can o do this?
DreamKing is referring to Global Variables, and is correct. *Mofakin* is referring to actor values, and is also correct. However, this is not what the OP asked:
If I have a quest script with an array
The values stored in variables and properties in running papyrus scripts, including the contents of arrays, are persistent across savegames.
Good, so I can record skills, avs, perks, and spells in arrays when the mod is first loaded, remove all of them, then two years later down the road revert my character back to how he was when the mod first loaded.