The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
#1
Script won´t work ^^

Why won´t this amb work? i´ve tried with different ambs and that works just fine ^^ i´ve tried with both .snt and .ogg but it just don´t seem to work, please help me...
void OnStart ()
{
AddEntityCollideCallback("Player", "kitchen_music", "start_music_dungeon1", true, 1);
}
void start_music_dungeon1(string &in asParent, string &in asChild, int alState)
{
if(alState == 1)
{
StopMusic(3, 1);
PlayMusic("21_amb", true, 0.7, 3, 0, false);
}
}

- Inactive account -
07-20-2012, 12:47 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)