Talk:Ambient generic: stop and toggle fix: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 10: Line 10:
Thanks in advance.  
Thanks in advance.  


: Search Class View for CAmbientGeneric. --[[user:TomEdwards|TomEdwards]] 12:22, 25 February 2010 (UTC)
: Search Class View for CAmbientGeneric. -- [[user:TomEdwards|TomEdwards]] 12:22, 25 February 2010 (UTC)


But where is this Class View?
But where is this Class View?
It could be anywhere.
It could be anywhere.
I've given the location to the file where the CAmbientGeneric::SendSound is located for anyone wanting to fix this issue, (Line Included.) -- [[user:Avanate|Avanate]] 7:10, 9 July 2018 (GMT+2)

Latest revision as of 09:11, 9 July 2018

Ambient generic: stop and toggle fix From Valve Developer Community Jump to: navigation, search Insert code in red into CAmbientGeneric::SendSound to overcome "unstoppable sound" issues:

Can someone please tell me where this elusive "CAmbientGeneric" file is that I am supposed to insert this updated c++ code into?

It would be nice to be able to have custom looping sounds in my map, as well as sounds that can be toggled, like on a radio that could play two songs.

Thanks in advance.

Search Class View for CAmbientGeneric. -- TomEdwards 12:22, 25 February 2010 (UTC)

But where is this Class View? It could be anywhere.

I've given the location to the file where the CAmbientGeneric::SendSound is located for anyone wanting to fix this issue, (Line Included.) -- Avanate 7:10, 9 July 2018 (GMT+2)