MCPcopy Create free account
hub / github.com/ValveSoftware/halflife / ToggleUse

Method ToggleUse

dlls/sound.cpp:536–644  ·  view source on GitHub ↗

ToggleUse - turns an ambient sound on or off. If the ambient is a looping sound, mark sound as active (m_fActive) if it's playing, innactive if not. If the sound is not a looping sound, never mark it as active.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

UTIL_EmitAmbientSoundFunction · 0.70
ENTFunction · 0.70

Tested by

no test coverage detected