So totally kidding on that first post. I restructured it today to keep using the names as keys. I added in a NAME_CHANGE object that will tell you if the current character's name has changed since the last time you logged into it on that PC and also what the old name was. Saved Vars will also automatically copy from the old character name settings to the new one on saved var creation. This should be as robust as the previous solution while allowing the table structure to stay the same and not have have unreadable character id keys.
|