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

trigger_togglesave

From Valve Developer Community
Jump to: navigation, search
Info.png
This entity is not in the FGD by default.
See below for instructions on making it available.

trigger_togglesave is a brush entity available in all Source Source games. Saves the game when the player touches the trigger. Can be enabled or disabled.

FGD Code

@SolidClass base(Targetname, EnableDisable) = trigger_togglesave :
	"Saves the game when the player touches the trigger. Can be enabled or disabled."
[
]

Keyvalues

Name (targetname) <string>
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Start Disabled (StartDisabled) <boolean>
Stay dormant until activated (with theEnableinput).

Inputs

EnableDisable:

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

Outputs