Trigger autosave: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Spam revert)
m (minoro)
Line 1: Line 1:
==Entity Description==
== Entity description ==
A [[brush entity]] that triggers an autosave when the player enters its volume.
A [[brush entity]] that triggers an auto-save when the player enters its volume.


==Keyvalues==
== Keyvalues ==
* {{kv targetname}}
* {{kv targetname}}
* '''NewLevelUnit'''
* '''NewLevelUnit'''
: {{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.
: {{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'''
* '''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.
Line 12: Line 12:
<!--No flags-->
<!--No flags-->


==Inputs==
== Inputs ==
* {{i targetname}}
* {{i targetname}}


==Outputs==
== Outputs ==
* {{o targetname}}
* {{o targetname}}


[[Category:Entities]][[Category:Brush Entities]]
[[Category:Entities]]
[[Category:Brush Entities]]

Revision as of 01:11, 27 November 2007

Entity description

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

Keyvalues

<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