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
Looping sound
flamez3 Offline
Posting Freak

Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation: 57
#2
RE: Looping sound

Make a new copy of the sound as well as the .snt file and open the copied .snt file using a text editing program. Then change the Loop="False" to Loop="True". Then when you want to stop the sound just use

Quote: StopSound(string& asSoundName, float afFadeTime);
Fades out a sound.
asSoundName - internal name
afFadeTime - time in seconds, use 0 to immediatly stop the sound

02-19-2012, 04:59 AM
Find


Messages In This Thread
Looping sound - by Thegood - 02-19-2012, 04:31 AM
RE: Looping sound - by flamez3 - 02-19-2012, 04:59 AM
RE: Looping sound - by Thegood - 02-23-2012, 10:33 PM
RE: Looping sound - by Your Computer - 02-24-2012, 12:38 AM



Users browsing this thread: 1 Guest(s)