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?
Statyk Offline
Schrödinger's Mod

Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation: 241
#8
RE: How do I remove music from an enemy being around?

(10-04-2011, 09:23 PM)Elven Wrote: 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!)
Lol, alrighty =] I'll give it a shot. I'm glad this may possibly work.



Worked like a charm!! Thank you SOO MUCH! =D Rep for both of joo.
(This post was last modified: 10-04-2011, 09:35 PM by Statyk.)
10-04-2011, 09:28 PM
Find


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



Users browsing this thread: 1 Guest(s)