Skip to main content

SaveMode

An enum in Root.Township, ATT.Saving.

How a spawned instance is saved when its chunk saves or unloads: Base (on its own), Child (inside its chunking parent), Ignore (not saved), Player or Creature (destroyed on unload, never saved). See the Prefabs guide.

Values​

Member
Base = 0
Child = 1
Creature = 4
Ignore = 2
Player = 3

Used in​

Members of other types that take, return or hold a SaveMode: