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
Sound won't loop.
Spazatron Offline
Junior Member

Posts: 33
Threads: 17
Joined: Oct 2012
Reputation: 2
#1
Sound won't loop.

I have a sound that's supposed to loop but it won't loop. I've set in the .snt file "Loop=True" but it just stops at the end of the sound. Also, the volume of the sound doesn't change when I change the .snt file.

I'm using PlaySoundAtEntity to play the sound.
04-10-2015, 07:21 PM
Find
A.M Team Offline
Banned

Posts: 811
Threads: 63
Joined: Sep 2014
#2
RE: Sound won't loop.

(04-10-2015, 07:21 PM)Spazatron Wrote: I have a sound that's supposed to loop but it won't loop. I've set in the .snt file "Loop=True" but it just stops at the end of the sound. Also, the volume of the sound doesn't change when I change the .snt file.

I'm using PlaySoundAtEntity to play the sound.
Try saying "true" instead of "True".
04-10-2015, 07:32 PM
Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#3
RE: Sound won't loop.

.snt files are weird...

Sometimes you need to do something more than just setting "Loop" to true.
I'd find an already existing .snt file, that loops to begin with. Saves you the trouble of trying every setting out.

Trying is the first step to success.
04-10-2015, 09:21 PM
Find
Unearthlybrutal Offline
Posting Freak

Posts: 775
Threads: 12
Joined: May 2011
Reputation: 26
#4
RE: Sound won't loop.

If you can't get it to work, do a timer that loops the file.
Think outside the box Wink

When Life No Longer Exists
Full-conversion mod
(This post was last modified: 04-11-2015, 09:47 AM by Unearthlybrutal.)
04-11-2015, 09:43 AM
Website Find




Users browsing this thread: 1 Guest(s)