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
Stepper321 Offline
Senior Member

Posts: 263
Threads: 26
Joined: Nov 2011
Reputation: 8
#6
RE: Music issue




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.

Signature to awesome to be displayed.
03-02-2012, 02:13 PM
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: 1 Guest(s)