Target changegravity: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Replacing {{base point}} with {{this is a}}. This operation was performed by a bot.) |
||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
{{CD|CTargetChangeGravity|file1=controlentities.cpp}} | {{CD|CTargetChangeGravity|file1=controlentities.cpp}} | ||
{{ | {{this is a|point entity|name=target_changegravity}} | ||
It changes the gravity of the player who activates this entity. | It changes the gravity of the player who activates this entity. | ||
Revision as of 23:18, 6 January 2024
| CTargetChangeGravity |
target_changegravity is a point entity available in all
Source games.
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.