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

trigger_fog

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_fog is a brush entity available in all Source Source games.

Entity Description

It creates particles flowing in the direction of the entity that moves in it, it was a cut entity from Half-Life 2.

FGD Code

@SolidClass base(TriggerOnce) = trigger_fog
[
]
Note.pngNote:To work properly, you need to have a VMT with this path particle/particle_fog.vmt, you need it mounted in your map or included in your mod.

Keyvalues

BaseTrigger:

Filter Name (filtername) <filter>
A filter entity to test potential activators against.
Start Disabled (StartDisabled) <boolean>
Stay dormant until activated (with theEnableinput).


Flags


BaseTrigger:
  •  [1] : Clients (Survivors, Special Infected, Tanks Left 4 Dead series)
  •  [2] : NPCs (Common Infected, Witches Left 4 Dead series)
  •  [8] : Physics Objects
  •  [16] : Only player ally NPCs
  •  [32] : Only clients in vehicles
  •  [64] : Everything (not including physics debris)
  •  [512] : Only clients *not* in vehicles
  •  [1024] : Physics debris
  •  [2048] : Only NPCs in vehicles (respects player ally flag)
  •  [4096] : Disallow Bots

Inputs


BaseTrigger:
Toggle
Toggles this trigger between enabled and disabled states.
Enable
Enable trigger
Disable
Disable trigger

Outputs

TriggerOnce:

OnStartTouch
Fired when an entity starts touching this trigger. The touching entity must pass this trigger's filters to cause this output to fire. (!activator is the "toucher.")
OnTrigger
Fired repeatedly with a delay while an entity is within this trigger's volume. Delay is defined by Delay Before Reset key.