This article's documentation is for the "GoldSrc" engine. Click here for more information.

trigger_gravity

From Valve Developer Community
Jump to: navigation, search
English (en)Translate (Translate)
Class hierarchy
CTriggerGravity
CBaseTrigger
CBaseToggle
CBaseAnimating
CBaseDelay
CBaseEntity
triggers.cpp

trigger_gravity is a brush entity available in all GoldSrc GoldSrc games. This entity sets the effect of gravity for any player that touches it.

Keyvalues

Target:
Target (target) <targetname>
The targetname of an entity this entity will trigger when activated.

Targetname:

Name (targetname) <string>
The targetname that other entities refer to this entity by.
Kill target (target_destination) <integer>
Kill Target.
Target Path (target_destination) <integer>
Target Path.
Master (master) <string>
Master.
Sound Style (sounds) <choices>
  • 0 : "No Sound"
Delay (delay) <float>
Delay before trigger.
Message (message) <string>
Message (set sound too!).
Gravity (gravity) <float>
Gravity multiplier. For example, a value between 0 and 1 is low gravity.

Flags

  • 1 : "Monsters"
  • 2 : "No Clients"
  • 4 : "Pushables"