Call this function if changes to the object are not to be saved to the savegame.
Use DontSaveObject on objects that:
1. Can be enabled/disabled during the game, such as the stages of building a stronghold.
2. Objects that might be moved, such as rideable objects.
By using DontSaveObject you will avoid that annoying "save game data has changed" error message that will occur when load a saved game and the object's state has changed, ie: it has moved, or has been disabled/enabled. This is due to the fact that object data is stored in the save game data, such as if the object is enabled or disabled, or if it has been moved (like a rideable object) (Forum info / IndigoRage).
In the original game, it's used in the SignRotate script and the following one:
Sample Script:
Begin diseaseAscended
DontSaveObject
;ascended sleeper has all the blight diseases for some reason...