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 do I remove music from an enemy being around?
Elven Offline
Posting Freak

Posts: 862
Threads: 37
Joined: Aug 2011
Reputation: 26
#7
RE: How do I remove music from an enemy being around?

No. But almost.

There is bug in functions. It says that in music 0 is highest and 1 is lower then 0. IT is actually lie, 0 is lowest and higher it goes, bigger priority it has! (Tested many many times).

So it should be more like:

void OnStart()
{
void PlayMusic("silentmusic.ogg", true, 0.1f, 0.01f, 1000, true);
}

(With 1000, it overwrites enemy music for sure Smile!)

The Interrogation
Chapter 1

My tutorials
10-04-2011, 09:23 PM
Find


Messages In This Thread
RE: How do I remove music from an enemy being around? - by Elven - 10-04-2011, 09:23 PM



Users browsing this thread: 1 Guest(s)