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 to make a sound play in a area?
Rapture Offline
Posting Freak

Posts: 1,078
Threads: 79
Joined: May 2011
Reputation: 30
#4
RE: how to make a sound play in a area?

If you know how to use Timers, you will want to loop them back on themselves to constantly play the sound you want.

You can use
AddTimer(string& asName, float afTime, string& asFunction);
and loop the timer back on it's self to replay the sound over and over.

Just make sure the function you call is a timer, and use
RemoveTimer(string& asName);
to stop the timer.
(This post was last modified: 04-03-2013, 02:00 PM by Rapture.)
04-03-2013, 01:57 PM
Find Reply


Messages In This Thread
RE: how to make a sound play in a area? - by Rapture - 04-03-2013, 01:57 PM



Users browsing this thread: 1 Guest(s)