This article's documentation is for anything that uses the Source engine. Click here for more information.

player_speedmod

From Valve Developer Community
Jump to: navigation, search
English (en)
... Icon-Important.png
player_speedmod
Player speedmod.png
TypePoint entity
EngineSource Source
AvailabilityIn all games
 

 player_speedmod is a point entity available in all Source Source games. This entity speeds up or slows down player velocity over time (slow motion / fast forward.) To disable it, fire the input "ModifySpeed 1.0" to reset the speed multiplier.

Note.pngNote:Using player_speedmod will always disable the flashlight. To enable the flashlight even as player_speedmod is active: right after firing the ModifySpeed input, fire an "EnableFlashlight" input to !player.


Keyvalues


Targetname:
Name (targetname) <string>
The targetname that other entities refer to this entity by.

Inputs

ModifySpeed <float>
Modifies player speed by X amount.

Flags

  •  [1] : Suppress weapons
  •  [2] : Suppress HUD
  •  [4] : Suppress jump
  •  [8] : Suppress duck
  •  [16] : Suppress use
  •  [32] : Suppress sprint
  •  [64] : Suppress attack
  •  [128] : Suppress zoom

See Also