Logic 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 10: Line 10:
: {{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, 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.
==Inputs==
==Inputs==
* {{i targetname}}
* {{I Targetname}}
* '''Save'''  
* '''Save'''  
: Force an autosave.
: Force an autosave.

Revision as of 19:34, 19 January 2009

Template:Wrongtitle Template:Base point

Entity Description

An entity that is used to force an autosave. It is usually triggered before large firefights or dangerous areas where the player might die.

  • Arguably pointless for multiplayer.

Keyvalues

<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.

Inputs

  • Save
Force an autosave.
  • SaveDangerous <float> (in all games since Half-Life 2: Episode One)
Force an autosave as autosavedangerous.sav. If the player is alive after the passed number of seconds it replaces the standard auto save.

Outputs