Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support


Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help Music playing while file not on my computer.
Author Message
narutohokager Offline
Member

Posts: 149
Joined: Jan 2011
Reputation: 0
Post: #9
RE: Music playing while file not on my computer.

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.

Sorry for my bad english
Amnesia The Revenge - Chapter 1
(This post was last modified: 04-28-2012 12:55 AM by narutohokager.)
04-28-2012 12:53 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Music playing while file not on my computer. - narutohokager - 04-28-2012 12:53 AM



User(s) browsing this thread: 1 Guest(s)