03-11-2012, 04:43 PM
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.
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.