Hey guys, I guess you can infer from the title what my problem is; I have music playing when I start the map, yet the music file isn't on my computer. It used to work fine, I would enter a room and the music would start, very simple, yet all of a sudden it started playing on start up, without even being close to the script zone. I then deleted the function, script zone, and Callback, yet it was still playing. I then removed the file from my computer completely, but it still plays.
If anyone could help me it would be greatly appreciated.
Try to delete :
AddEntityCollideCallback("Player", "Music_1", "MusicPlay_1", true, 1);
And
void MusicPlay_1(string &in asParent, string &in asChild, int alState)
{
PlayMusic("Penumbra_BP_A15.ogg", true, 2, 3, 0, true);
}
Are you sure the area that activates the music is not too close to the start ?
At worst, selects all the objects of your map and exports, create a new map, and imports objects and try without script. It's about what I do sometimes when I can't solve a problem.
If its work without the music starts up by itself, restores the script file, part from part.
(04-28-2012, 12:53 AM)narutohokager Wrote: Try to delete :
AddEntityCollideCallback("Player", "Music_1", "MusicPlay_1", true, 1);
And
void MusicPlay_1(string &in asParent, string &in asChild, int alState)
{
PlayMusic("Penumbra_BP_A15.ogg", true, 2, 3, 0, true);
}
Are you sure the area that activates the music is not too close to the start ?
At worst, selects all the objects of your map and exports, create a new map, and imports objects and try without script. It's about what I do sometimes when I can't solve a problem.
If its work without the music starts up by itself, restores the script file, part from part.
Tried it, didn't work. The music file "Penumbra_BP_A15" isn't even the one that's playing, the one playing is off my computer entirely, and the import didn't change anything.