This article's documentation is for anything that uses the Source engine. Click here for more information.

trigger_autosave

From Valve Developer Community
Jump to navigation Jump to search
Class hierarchy
CTriggerSave
CBaseTrigger
CBaseToggle
CBaseEntity
triggers.cpp

trigger_autosave is a brush entity available in all Source Source games. It triggers an auto-save when the player enters its volume.

Keyvalues

Master (master) <string>
Legacy support: The name of a master entity. If the master hasn't been activated, this entity will not activate.
Force New Level Unit (NewLevelUnit) <boolean>
If set, the save will discard any savedata from previous levels, for the purpose of keeping savegame filesizes down. Can only be safely used if there is no way for the player to return to previous levels.
Dangerous Timer (DangerousTimer) <float>
The number of seconds the player must survive before this autosave takes effect.
Minumum Hit Points (MinimumHitPoints) <integer>
Don't save dangerous when player has less than this many hitpoints.

See also