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
PlayMusic seems to come from a direction
i3670 Offline
Posting Freak

Posts: 1,308
Threads: 74
Joined: Oct 2011
Reputation: 36
#3
RE: PlayMusic seems to come from a direction

You could use (below), I think and just loop that.

PlayGuiSound("sound.snt", 0.0f);

0.0f is volume.



AddTimer("soundtimer", 5.0f, "TimerSound");

void TimerSound(string &in asTimer)
{
PlayGuiSound("sound.snt", 0.0f);
AddTimer("soundtimer", 5.0f, "TimerSound");
}

"What you think is irrelevant" - A character of our time

A Christmas Hunt
02-16-2013, 04:08 PM
Find


Messages In This Thread
RE: PlayMusic seems to come from a direction - by i3670 - 02-16-2013, 04:08 PM



Users browsing this thread: 1 Guest(s)