Logic active autosave: Difference between revisions
Jump to navigation
Jump to search
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.) |
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.) |
||
Line 2: | Line 2: | ||
{{CD|CLogicActiveAutosave|file1=logicentities.cpp}} | {{CD|CLogicActiveAutosave|file1=logicentities.cpp}} | ||
{{this is a| | {{this is a|point entity|name=logic_active_autosave}} | ||
It is used to look for opportunities to autosave. | It is used to look for opportunities to autosave. |
Revision as of 17:34, 17 May 2024
![]() |
---|
CLogicActiveAutosave |
![]() |
logic_active_autosave
is a point entity available in all Source games.
It is used to look for opportunities to autosave.
Keyvalues
- Initiation Hit Points (MinimumHitPoints) <integer>
- Start looking for an opportunity to save if player drops below this hitpoint level.
- Trigger Hit Points (TriggerHitPoints) <integer>
- If started looking for an opportunity, save when hitpoints reach this level.
- Time to trigger (TimeToTrigget) <float>
- If > 0, how long to try and get a save off before giving up
- Dangerous time (DangerousTime) <float>
- If 0, just autosave. Otherwise, do an autosavedangerous with this time threshold
- 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
Inputs
EnableDisable:
- Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.