Trigger autosave: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Cleanup) |
||
Line 1: | Line 1: | ||
{{ | {{base brush|trigger_autosave}} | ||
{{sensor brush}} | |||
== Entity description == | == Entity description == | ||
A [[brush entity]] that [[trigger]]s an auto-save when the player enters its volume. | A [[brush entity]] that [[trigger]]s an auto-save when the player enters its volume. | ||
== Keyvalues == | == Keyvalues == | ||
{{KV|Master|string|Legacy support: The name of a master entity. If the master hasn't been activated, this entity will not activate.}} | |||
{{KV|Force New Level Unit|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.}} | |||
{{KV|Dangerous Timer|float|The number of seconds the player must survive before this autosave takes effect.}} | |||
{{KV|Minumum Hit Points|integer|Don't save dangerous when player has less than this many hitpoints.}} | |||
{{KV Targetname}} | |||
== Inputs == | == Inputs == | ||
{{I Targetname}} | |||
== Outputs == | == Outputs == | ||
{{O Targetname}} |
Revision as of 05:44, 3 June 2011
Entity description
A brush entity that triggers an auto-save when the player enters its volume.
Keyvalues
- Master ([todo internal name (i)]) <string>
- Legacy support: The name of a master entity. If the master hasn't been activated, this entity will not activate.
- Force New Level Unit ([todo internal name (i)]) <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.
- Dangerous Timer ([todo internal name (i)]) <float>
- The number of seconds the player must survive before this autosave takes effect.
- Minumum Hit Points ([todo internal name (i)]) <integer>
- Don't save dangerous when player has less than this many hitpoints.
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities