target_changegravity
This entity is not in the stock FGD files by default.
|
Code classes:
CTargetChangeGravity
CPointEntity
CBaseEntity
(all ents)
target_changegravity
is a point entity present in all Source games. It changes the gravity setting of players.
FGD Code[edit | edit source]
[ gravity(integer) : "Gravity" : 1 : "What to change the gravity amount to. Multiplier of regular gravity. Mods can easily change this keyvalue to a float, thereby greatly increasing its usefulness. Cannot be set to 0." input ChangeGrav(void) : "Changes the gravity of the activating player to the amount in Gravity." input ResetGrav(void) : "Changes the gravity of the activating player to the previous amount of gravity that was being experienced by the most recent activator player of the ChangeGrav input, before that input was sent."
]Keyvalues[edit | edit source]
- Gravity
(gravity)
<integer>
- What to change the gravity amount to. Multiplier of regular gravity. Mods can easily change this keyvalue to a float, thereby greatly increasing its usefulness. Bug: Cannot be set to 0.
Inputs[edit | edit source]
- ChangeGrav
- Changes the gravity of the activating player to the amount in Gravity.
- ResetGrav
- Changes the gravity of the activating player to the previous amount of gravity that was being experienced by the most recent activator player of the ChangeGrav input, before that input was sent.