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

trigger_gravity

From Valve Developer Community
Jump to: navigation, search
class hierarchy
CTriggerGravity defined in triggers.cpp
CBaseTrigger
CBaseToggle
CBaseEntity

trigger_gravity is a brush entity available in all Source Source games. It scales the force of gravity of players touching its volume.

Warning.pngWarning:This entity only affects the player, despite the flags

Keyvalues

Gravity (0-1) (gravity) <float>
Gravity multiplier. 1 is normal gravity, 0 is none. Accepts negative values and decimals.

BaseTrigger:

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

Targetname:
Name (targetname) <string>
The targetname that other entities refer to this entity by.

Inputs

EnableDisable:

Enable
Disable
Enable/disable this entity from performing its task. It might also disappear from view.

See also