Logic autosave: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
{{wrongtitle|title=logic_autosave}}
{{wrongtitle|title=logic_autosave}}
==Entity Description==
==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.
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.
* Arguably pointless for multiplayer.
==Keyvalues==
==Keyvalues==
* {{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, 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.
==Outputs==
==Outputs==
* {{o targetname}}
* {{o targetname}}
[[Category:Entities]]
[[Category:Entities]]

Revision as of 23:29, 24 March 2006

Template:Wrongtitle

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

Force an autosave.

Outputs