Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Stop a looping sound
Equil Offline
Member

Posts: 94
Threads: 8
Joined: Sep 2010
Reputation: 0
#9
RE: Stop a looping sound

Try this:

void CollideAreaBreakDoor(string &in asParent, string &in asChild, int alState)
{

   if(alState == 1) {
  
StopSound(asChild+"24mb03", 1);
    PlaySoundAtEntity("break","attack_claw_hit03", "AreaBreakEffect", 0, false);
    PlaySoundAtEntity("24mb","24_mb_04", "AreaBreakEffect", 0, false);
    CreateParticleSystemAtEntity("breakps", "ps_blood_big_splash", "AreaBreakEffect", false);
    CreateParticleSystemAtEntity("breakps", "ps_blood_constant_splash", "AreaBreakEffect", false);
    SetEntityActive("crowbar_joint_1", false);
    SetEntityActive("crowbar_dyn_1", true);
StartEffectFlash(2,1,3);
AddTimer("FlashbackTimer3",3.0f,"FlashbackTimer");

      }
  
}
10-01-2010, 11:20 AM
Find


Messages In This Thread
Stop a looping sound - by Jordo76 - 09-29-2010, 05:28 PM
RE: Stop a looping sound - by Equil - 09-30-2010, 03:55 AM
RE: Stop a looping sound - by Jordo76 - 09-30-2010, 11:58 AM
RE: Stop a looping sound - by Equil - 09-30-2010, 12:52 PM
RE: Stop a looping sound - by Jordo76 - 09-30-2010, 05:16 PM
RE: Stop a looping sound - by Pandemoneus - 09-30-2010, 08:31 PM
RE: Stop a looping sound - by Jordo76 - 09-30-2010, 08:38 PM
RE: Stop a looping sound - by Pandemoneus - 09-30-2010, 08:50 PM
RE: Stop a looping sound - by Equil - 10-01-2010, 11:20 AM
RE: Stop a looping sound - by Jordo76 - 10-01-2010, 11:53 AM



Users browsing this thread: 1 Guest(s)