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

Function PlayLockSounds

src/game/server/doors.cpp:123–215  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: play door or button locked or unlocked sounds. NOTE: this routine is shared by doors and buttons Input : pEdict - pls - flocked - if true, play 'door is locked' sound, otherwise play 'door is unlocked' sound. fbutton - -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 10

OnUseMethod · 0.85
OpenIfUnlockedMethod · 0.85
PressMethod · 0.85
OnUseLockedMethod · 0.85
ButtonTouchMethod · 0.85
ButtonActivateMethod · 0.85
DoorTouchMethod · 0.85
UseMethod · 0.85
InputOpenMethod · 0.85
DoorActivateMethod · 0.85

Calls 4

HasSpawnFlagsMethod · 0.80
entindexMethod · 0.45
edictMethod · 0.45

Tested by

no test coverage detected