Jump to content

Cloneform questions


Noggog

Recommended Posts

So, I'm worried about cloneforms causing memory leaks.

 

How do I delete/unallocate a cloneform? Is there a "delete what this ref points to" command?

 

- or, a less preferable solution: -

 

Will disabling the mod that created it wipe the save clean of them?

Link to comment
Share on other sites

Yup, that'll do! . . .

 

Not quite . . .

 

Generalizing a bit, every object in the game has a Base Form (or Base Object) and a Reference

 

Base Form is the blueprint, Reference are the actual objects you see.

 

Base Form contains whatever is common to all objects derived from it, so, the Apple Base Form holds everything common to all Apples in the game, like its name and nif. If you change anything in the base form, it applies to all instances of that object.

 

References (Form) contains the information pertaining that particular instance of the object, like its position, angle and scale.

 

CloneForm creates a new Base Object. There is no script command to remove this Form from the game and it may stay in the savegame forever. Well, actually, RefStuff does add a DestroyClonedForm function, but it is marked as experimental. Maybe some external tool may remove them, I don't know.

 

OBSE's DeleteReference deletes References (typically created with PlaceAtMe), not Base Objects.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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