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

Trigger gravity (GoldSrc): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
No edit summary
Line 1: Line 1:
{{tabs|trigger_gravity|goldsrc=1|source=1|main=source}}
{{LanguageBar}}
 
{{TabsBar|main=gs|base=Trigger gravity}}
{{this is a|brush entity|name=trigger_gravity|engine=GoldSrc}}
{{this is a|brush entity|name=trigger_gravity|engine=GoldSrc}}
==Entity description==
This entity sets the effect of gravity for any player that touches it.
This entity sets the effect of gravity for any player that touches it.



Revision as of 10:01, 9 September 2024

English (en)Translate (Translate)

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) <targetname>
The targetname of an entity this entity will trigger when activated.
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"