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

trigger_tonemap

From Valve Developer Community
Jump to navigation Jump to search
Icon-NotInFGD.png
This entity is not in the Alien SwarmPortal 2Counter-Strike: Global Offensive FGD by default.
See below for instructions on making it available.
Class hierarchy
CTonemapTrigger
CBaseTrigger
CBaseToggle
CBaseEntity
env_tonemap_controller.cpp

trigger_tonemap is a brush entity available in all Source Source games since Left 4 Dead Left 4 Dead. (also in Garry's Mod)

Changes env_tonemap_controller for players touching the trigger.

Note.pngNote:This entity is only in the FGDs of the Left 4 Dead series. However, it still exists in subsequent games.
Note.pngNote:This entity has keyvalues, inputs, and outputs available to usual trigger_* entities, but only has Targetname listed as a base, so they're not listed in the FGD, but can still be added via turning off SmartEdit.

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

Tonemap Name (TonemapName) <targetname>
The name of the tonemap controller entity associated with this trigger.

FGD Code

@SolidClass base(Trigger) = trigger_tonemap : "Changes tonemap controllers for players touching the trigger."
[
	TonemapName(target_destination) : "Tonemap Name" : : "The name of the tonemap controller entity associated with this trigger."
]

See also