Trigger autosave: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: fixing template case.)
m (Robot: fixing template case.)
Line 6: Line 6:


== Keyvalues ==
== Keyvalues ==
* {{kv targetname}}
* {{KV Targetname}}
* '''NewLevelUnit'''
* '''NewLevelUnit'''
: {{boolean}} If set, any savedata from previous levels will be discarded, typically reducing savegame file sizes; it should only be used when the player cannot backtrack to previous levels.
: {{boolean}} If set, any savedata from previous levels will be discarded, typically reducing savegame file sizes; it should only be used when the player cannot backtrack to previous levels.

Revision as of 19:56, 19 January 2009

Template:Base brush

Entity description

A brush entity that triggers an auto-save when the player enters its volume.

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

  • NewLevelUnit
<boolean> If set, any savedata from previous levels will be discarded, typically reducing savegame file sizes; 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