The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Music Loops
wretic91 Offline
Junior Member

Posts: 21
Threads: 11
Joined: Jan 2012
Reputation: 0
#1
Music Loops

Hi everyone,

im having a little problem.. when i start a new game with my mod..i dont got any problems.. when i enter another map nothing happens.. but if i exit the game.. the music keeps playing.. if i enter another custom story.. it still keeps playing... now i tryed some codes.. but it didnt work.. anyone can help me out? here is the script.

void OnStart()
{

PlayMusic("entrance_1.ogg", true, 80, 1, 0, false);
}

void OnLeave()
{
}


what can i add so it wont continue when i go back to the menu!

Wretic.
03-11-2012, 04:43 PM
Find


Messages In This Thread
Music Loops - by wretic91 - 03-11-2012, 04:43 PM
RE: Music Loops - by Mehis - 03-11-2012, 04:47 PM
RE: Music Loops - by wretic91 - 03-11-2012, 04:53 PM
RE: Music Loops - by JMFStorm - 03-12-2012, 08:13 PM



Users browsing this thread: 1 Guest(s)