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
Script won´t work ^^
Ongka Offline
Member

Posts: 225
Threads: 3
Joined: Nov 2010
Reputation: 20
#2
RE: Script won´t work ^^

remove the if statement and add .ogg to the music file.
void OnStart ()
{
AddEntityCollideCallback("Player", "kitchen_music", "start_music_dungeon1", true, 1);
}

void start_music_dungeon1(string &in asParent, string &in asChild, int alState)
{
StopMusic(3, 1);
PlayMusic("21_amb.ogg", true, 0.7, 3, 0, false);
}

[Image: 18694.png]
(This post was last modified: 07-20-2012, 01:54 AM by Ongka.)
07-20-2012, 01:54 AM
Find


Messages In This Thread
Script won´t work ^^ - by Artyom - 07-20-2012, 12:47 AM
RE: Script won´t work ^^ - by Ongka - 07-20-2012, 01:54 AM
RE: Script won´t work ^^ - by Artyom - 07-24-2012, 07:26 PM
RE: Script won´t work ^^ - by Steve - 07-24-2012, 07:52 PM
RE: Script won´t work ^^ - by drunkmonk - 07-24-2012, 08:52 PM
RE: Script won´t work ^^ - by Artyom - 07-25-2012, 01:31 AM
RE: Script won´t work ^^ - by drunkmonk - 07-25-2012, 01:38 AM
RE: Script won´t work ^^ - by Artyom - 07-26-2012, 11:33 AM



Users browsing this thread: 1 Guest(s)