[ H3LP ] Stop Entity sound
Hello. So in maps like lambda_bunker for example, there are brush entities like the fan. The thing is, when I remove the fan the sound is still playing. How can I stop it as well? I tried using emit_sound on CHAN_STATIC but that didn't work. Thanks !
|
Re: [ H3LP ] Stop Entity sound
similar like this way :
https://forums.alliedmods.net/showpo...51&postcount=8 |
Re: [ H3LP ] Stop Entity sound
Quote:
|
Re: [ H3LP ] Stop Entity sound
Use SND_STOP flag on emit_sound.
|
Re: [ H3LP ] Stop Entity sound
Quote:
|
Re: [ H3LP ] Stop Entity sound
I don't think if this will work, but you can try block the sound to be reproduced, create an entity, play the sound again from this entity, use SND_STOP when you want to stop the sound and remove that entity.
|
Re: [ H3LP ] Stop Entity sound
Quote:
|
Re: [ H3LP ] Stop Entity sound
Quote:
|
Re: [ H3LP ] Stop Entity sound
Quote:
|
Re: [ H3LP ] Stop Entity sound
You can try do that with FM_EmitSound/FM_AmbientSound.
|
All times are GMT -4. The time now is 02:50. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.