Trigger togglesave: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.) |
||
Line 1: | Line 1: | ||
{{ent not in fgd}} | {{ent not in fgd}} | ||
{{ | {{this is a|e2|name=trigger_togglesave}} Saves the game when the player touches the trigger. Can be enabled or disabled. | ||
==FGD Code== | ==FGD Code== |
Revision as of 13:13, 4 January 2024
trigger_togglesave
is an e2 available in all 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>[ 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
- Start Disabled (StartDisabled) <boolean>
- Stay dormant until activated (with the
Enable
input).
Inputs
EnableDisable:
- Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.