Moderator elections are being held. See Valve Developer Community:Moderator elections for more details.
Users who would like to run for moderator must be autoconfirmed and have at least 100 edits. Users can check their own edit count at Special:Preferences.
Users who would like to run for moderator must be autoconfirmed and have at least 100 edits. Users can check their own edit count at Special:Preferences.
trigger_fog
trigger_fog
is a brush entity available in all 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: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 the
Enable
input).
Flags
BaseTrigger:
- [
4
] : func_pushable
- [
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)
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.