MCPcopy Create free account
hub / github.com/ValveSoftware/source-sdk-2013 / GetMinRestTime

Method GetMinRestTime

src/game/server/hl2/weapon_shotgun.cpp:234–242  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: When we shipped HL2, the shotgun weapon did not override the BaseCombatWeapon default rest time of 0.3 to 0.6 seconds. When NPC's fight from a stationary position, their animation events govern when they fire so the rate of fire is specified by the animation. When NPC's move-and-shoot, the rate of fire is specif

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

OnUpdateShotRegulatorMethod · 0.45
OnChangeActiveWeaponMethod · 0.45

Calls 2

GetBoolMethod · 0.45
ClassifyMethod · 0.45

Tested by

no test coverage detected