Jump to content

Mark for Delete


BadPenney

Recommended Posts

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

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...