ZoomZoomBang Posted November 24, 2022 Share Posted November 24, 2022 (edited) I'm trying to detect on the client when certain sounds play in the game, so I'm using something like this code to override SoundEmitter's functions. local function DoNothing(...) print(...) end GLOBAL.SoundEmitter.PlaySound = DoNothing GLOBAL.SoundEmitter.PlaySoundWithParams = DoNothing However even after overriding the functions and not calling the original PlaySound functions (so everything should be muted), certain sounds are still playing and don't trigger the print in DoNothing, such as hit impact and footstep sounds. Does someone know what other code I need to look at to find the rest of the sounds that are playing? Edited November 24, 2022 by ZoomZoomBang Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now