This article's documentation is for anything that uses the Source engine. Click here for more information.

logic_active_autosave

From Valve Developer Community
Jump to: navigation, search

class hierarchy
CLogicActiveAutosave defined in logicentities.cpp
CLogicAutosave
CLogicalEntity
CServerOnlyEntity
CBaseEntity

logic_active_autosave is a point entity available in all Source 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

Targetname:
Name (targetname) <string>
The targetname that other entities refer to this entity by.

Inputs

EnableDisable:

Enable
Disable
Enable/disable this entity from performing its task. It might also disappear from view.

See also