Trigger gravity: Difference between revisions
Jump to navigation
Jump to search
Warning:This entity only affects the player, despite the flags
MyGamepedia (talk | contribs) |
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.) |
||
Line 2: | Line 2: | ||
{{CD|CTriggerGravity|file1=triggers.cpp}} | {{CD|CTriggerGravity|file1=triggers.cpp}} | ||
{{this is a| | {{this is a|brush entity|name=trigger_gravity}} It scales the force of [[gravity]] of players touching its volume. | ||
{{warning|This entity only affects the player, despite the flags}} | {{warning|This entity only affects the player, despite the flags}} | ||
Revision as of 16:46, 17 May 2024
![]() |
---|
CTriggerGravity |
![]() |
trigger_gravity
is a brush entity available in all Source games. It scales the force of gravity of players touching its volume.

Keyvalues
- Gravity (0-1) (gravity) <float>
- Gravity multiplier. 1 is normal gravity, 0 is none. Accepts negative values and decimals.
|
- 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
Inputs
EnableDisable:
- Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.