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
How can I script this sound so it plays correctly?
genmills Offline
Junior Member

Posts: 47
Threads: 7
Joined: Mar 2011
Reputation: 0
#3
RE: How can I script this sound so it plays correctly?

(04-11-2011, 01:51 AM)palistov Wrote: In the Level Editor, press 5 (sound placer) and select the ambient file. Then change the radius until it ends where you want it to.

Either that, or script the sound so it fades out using StopSound("ambience", 3); //fade in 3 seconds

Oh Duh! I'll fade the sound out in the OnLeave() element. Thanks so much! Sometimes it takes someone else's help to see the obvious. Wink
04-11-2011, 02:17 AM
Find


Messages In This Thread
RE: How can I script this sound so it plays correctly? - by genmills - 04-11-2011, 02:17 AM



Users browsing this thread: 1 Guest(s)