Trigger gravity: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
 Warning:This entity only affects the player, despite the flags
Warning:This entity only affects the player, despite the flags
		
	
|  (Woops) |  (-added class hierarchy, cleanup) | ||
| Line 1: | Line 1: | ||
| {{base brush|trigger_gravity}} It scales the force of [[gravity]]  | {{CD|CTriggerGravity|file1=triggers.cpp}} | ||
| {{base brush|trigger_gravity}} It scales the force of [[gravity]] of players touching its volume. | |||
| {{warning|This entity only affects the player, despite the flags}} | |||
| == Keyvalues == | == Keyvalues == | ||
| {{KV|Gravity (0-1)| | {{KV|Gravity (0-1)|intn=gravity|float|Gravity multiplier. 1 is normal gravity, 0 is none. Accepts negative values and decimals.}} | ||
| {{KV Trigger}} | {{KV Trigger}} | ||
| {{KV Targetname}} | |||
| {{ | |||
| == Inputs == | == Inputs == | ||
| {{I  | {{I EnableDisable}} | ||
| ==  | == See Also == | ||
| * [[Gravity]] | |||
| {{sensor brush}} | {{sensor brush}} | ||
Revision as of 04:55, 6 November 2022
|  Class hierarchy | 
|---|
| CTriggerGravity | 
|  triggers.cpp | 
Template:Base brush 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 flagsKeyvalues
- 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. parentnameortarget).
 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.