Trigger togglesave: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{ent not in fgd}} {{base brush|trigger_togglesave}} Saves the game when the player touches the trigger. Can be enabled or disabled. ==FGD Code== @SolidClass base(Targetname...")
 
mNo edit summary
Line 1: Line 1:
{{ent not in fgd}}
{{ent not in fgd}}
{{base brush|trigger_togglesave}} Saves the game when the player touches the trigger. Can be enabled or disabled.
{{entity|trigger_togglesave|type=e2}} Saves the game when the player touches the trigger. Can be enabled or disabled.


==FGD Code==
==FGD Code==

Revision as of 08:28, 24 January 2023

Icon-NotInFGD.png
This entity is not in the FGD by default.
See below for instructions on making it available.

Template:Entity 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>[ Edit ]
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