Hi All-

Yes, there is an animation event for stopping a sound. This example
excerpt from a .QC file has a sound start at frame 2 and stop at frame
45.

$sequence Close "close" fps 30 {

{ event AE_CL_PLAYSOUND 1 "Doors.CombineGate_citizen_unlock1" }
{ event AE_CL_PLAYSOUND 2 "Doors.CombineGate_citizen_move1" }
{ event AE_CL_PLAYSOUND 18 "Doors.CombineGate_citizen_stop1" }
{ event AE_CL_STOPSOUND 45 "Doors.CombineGate_citizen_move1" }
{ event AE_CL_PLAYSOUND 46 "Doors.CombineGate_citizen_stop2" }

}

-Mike

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ben Everett
Sent: Thursday, November 09, 2006 2:03 PM
To: [email protected]
Subject: [hlcoders] Stopping Sounds via QC File

This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ] Is it possible to have
a sound _STOP_ playing in the QC file? We have a looping burning sound
that is played as part of our Molotov code. However, code that we call
specifically to stop the sound (viewmodel->StopSound(<sound name>) does
not work. Any solution to this or is this just a no-no?

--


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to