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
Music issue
jessehmusic Offline
Senior Member

Posts: 423
Threads: 102
Joined: Dec 2011
Reputation: 8
#7
RE: Music issue

(03-02-2012, 02:13 PM)Stepper321 Wrote:
void OnEnter()
{    AddEntityCollideCallback("Player", "MusicStop", "StopMusic", true, 1);
}
void OnLeave()
{
    
}


Here you go, what was wrong is that it would make the collide event enabled when you leave it. Just copy it and replace it from the down of the code.
Still dosn't work

http://www.moddb.com/mods/jessehmusic - Hospital of horror , WIP
03-02-2012, 02:39 PM
Website Find


Messages In This Thread
Music issue - by jessehmusic - 03-02-2012, 02:06 AM
RE: Music issue - by Strembitsky - 03-02-2012, 02:27 AM
RE: Music issue - by flamez3 - 03-02-2012, 02:37 AM
RE: Music issue - by jessehmusic - 03-02-2012, 01:50 PM
RE: Music issue - by flamez3 - 03-02-2012, 02:04 PM
RE: Music issue - by Stepper321 - 03-02-2012, 02:13 PM
RE: Music issue - by jessehmusic - 03-02-2012, 02:39 PM
RE: Music issue - by Acies - 03-02-2012, 03:01 PM



Users browsing this thread: 2 Guest(s)