Trigger autosave: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (revert)
Line 7: Line 7:
* {{kv targetname}}
* {{kv targetname}}
* '''NewLevelUnit'''
* '''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.
: {{boolean}} If set, any savedata from previous levels will be discarded, typically reducing savegame filesizes; it should only be used when the player cannot backtrack to previous levels.
* '''master'''
* '''master'''
: <target_destination> Legacy support: The name of a master entity. If the master hasn't been activated, this entity will not activate.
: <target_destination> Legacy support: The name of a master entity. If the master hasn't been activated, this entity will not activate.

Revision as of 18:55, 2 October 2007

Template:Wrongtitle

Entity Description

A brush entity that triggers an autosave when the player enters its volume.

Keyvalues

<boolean> If set, any savedata from previous levels will be discarded, typically reducing savegame filesizes; it should only be used when the player cannot backtrack to previous levels.
  • master
<target_destination> Legacy support: The name of a master entity. If the master hasn't been activated, this entity will not activate.
  • DangerousTimer
<float> The number of seconds the player must survive before this autosave takes effect.

Inputs

Outputs