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?
Yoilickturtles Offline
Junior Member

Posts: 48
Threads: 9
Joined: Mar 2013
Reputation: 1
#5
RE: how to make a sound play in a area?

(04-03-2013, 01:57 PM)Rapture Wrote: 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.
Ok, gonna try it out
04-03-2013, 02:02 PM
Find


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



Users browsing this thread: 1 Guest(s)