Topic: Making a private variable persistant
I'm currently working on an object for SD which must be able to spawn other objects only every so often, but I've run into an issue. Whenever I have it grab a value from a global and store it in a private variable and reset the level it loses the variable. Because of the way SD works, I've got to have the ability to make a variable persistent without storing it in a global variable; I'm working under the assumption that there will be N of these spawners in any given level and having them all read and modify the same global will be disastrous. Anyone have any ideas?