BadPenney Posted July 22, 2009 Share Posted July 22, 2009 I'm curious about this script command MarkForDelete. If I have a persistent object that is no longer necessary and I script it to be disabled and then mark for delete, will it reduce the size of subsequent save games? Link to comment Share on other sites More sharing options...
SpeedyB64 Posted July 22, 2009 Share Posted July 22, 2009 That is the purpose of the function.I haven't tested to see but that's what its supposed to do. Link to comment Share on other sites More sharing options...
Cipscis Posted July 23, 2009 Share Posted July 23, 2009 Normally MarkForDelete should only be used on references that are saved in the savegame itself, rather than those placed in a plugin file. The size of a single reference is very small, but if many references are created and stored in the savegame then its size can increase quite a lot, resulting in a condition known as "bloat". This is normally caused by rampant use of PlaceAtMe with forms that the game engine doesn't clean up automatically. Normally the only time you'll need to worry about using MarkForDelete is after using PlaceAtMe with such forms. Cipscis Link to comment Share on other sites More sharing options...
Recommended Posts