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 ^^
Artyom Offline
Senior Member

Posts: 370
Threads: 27
Joined: Jul 2012
Reputation: 11
#3
RE: Script won´t work ^^

(07-20-2012, 01:54 AM)Ongka Wrote: 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);

}



still wont work...

- Inactive account -
07-24-2012, 07:26 PM
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)