The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
Script Help SOLVED-What Causes Looping Sounds?
MsHannerBananer Offline
Member

Posts: 218
Threads: 34
Joined: Sep 2013
Reputation: 10
#1
SOLVED-What Causes Looping Sounds?

I have a script set up for two sounds to be played at an entity when a lever is pulled down.

Instead of playing once, both sounds loop continuously.

    PlaySoundAtEntity("", "powerdown.snt", "marineSwitch", 0.05, false);
    PlaySoundAtEntity("", "lever_switch.snt", "marineSwitch", 0.05, false);

It doesn't matter if the sounds are .ogg or .snt, they both behave the same way and I can't find the reason for it for the life of me.

I've never had this happen before with PlaySound. All my other PlaySound's behave as they're supposed to.

Anyone have any idea's?

(This post was last modified: 03-27-2014, 07:34 PM by MsHannerBananer.)
03-27-2014, 10:21 AM
Find


Messages In This Thread
SOLVED-What Causes Looping Sounds? - by MsHannerBananer - 03-27-2014, 10:21 AM
RE: What Causes Looping Sounds? - by Romulator - 03-27-2014, 11:16 AM
RE: What Causes Looping Sounds? - by Mudbill - 03-27-2014, 03:00 PM



Users browsing this thread: 2 Guest(s)