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 script (HELP)
Froge Offline
Posting Freak

Posts: 2,955
Threads: 176
Joined: Jul 2012
Reputation: 125
#2
RE: Music script (HELP)

Make a script box around your playerstart box. Call it something like "playmusic"

{
AddEntityCollideCallback("Player", "playmusic", "StartMusic", true, 1);

}

void StartMusic(string &in asParent, string &in asChild, int alState)
{
PlayMusic("LStheme.ogg", true, 0.8f, 2, 0, true);
}

[Image: p229xcq]
08-09-2012, 05:34 AM
Find


Messages In This Thread
Music script (HELP) - by Brothersvv09 - 08-09-2012, 05:11 AM
RE: Music script (HELP) - by Froge - 08-09-2012, 05:34 AM
RE: Music script (HELP) - by lolmaster - 08-09-2012, 05:34 AM
RE: Music script (HELP) - by Seragath - 08-09-2012, 09:14 AM



Users browsing this thread: 1 Guest(s)