Target changegravity: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
|  (Created entity page. (Information from the Jungle Inferno leak of TF2.)) |  (-added class hierarchy, cleanup) | ||
| Line 1: | Line 1: | ||
| {{CD|CTargetChangeGravity|file1=controlentities.cpp}} | |||
| {{base point|target_changegravity}} | {{base point|target_changegravity}} | ||
| It changes the gravity of the player who activates this entity. | |||
| {{code class|CTargetChangeGravity|controlentities.cpp}} | {{code class|CTargetChangeGravity|controlentities.cpp}} | ||
| __TOC__ | __TOC__ | ||
| ==Keyvalues== | ==Keyvalues== | ||
| {{KV|gravity|integer|Gravity to apply.}} | {{KV|gravity|intn=gravity|integer|Gravity to apply.}} | ||
| {{KV  | {{KV Targetname}} | ||
| ==Inputs== | ==Inputs== | ||
| {{IO|ChangeGrav|Change {{ent|!activator}}'s gravity.}} | {{IO|ChangeGrav|Change {{ent|!activator}}'s gravity.}} | ||
| {{IO|ResetGrav|Reset {{ent|!activator}}'s gravity.}} | {{IO|ResetGrav|Reset {{ent|!activator}}'s gravity.}} | ||
Revision as of 01:05, 13 November 2022
|  Class hierarchy | 
|---|
| CTargetChangeGravity | 
|  controlentities.cpp | 
It changes the gravity of the player who activates this entity.
Keyvalues
- gravity (gravity) <integer>
- Gravity to apply.
- 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
- ChangeGrav
- Change !activator's gravity.
- ResetGrav
- Reset !activator's gravity.