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
Custom Music Dosnt work
jessehmusic Offline
Senior Member

Posts: 423
Threads: 102
Joined: Dec 2011
Reputation: 8
#1
Custom Music Dosnt work


My custom music i found on youtube was great for amnesia , but it donst work :S.....



Here is my hps



void OnStart()
{
AddUseItemCallback("", "Mansion_Key", "Locked_door", "KeyOnDoor", true);
AddEntityCollideCallback("Player", "Area_Event_One", "MusicStart", true, 1);
}


void KeyOnDoor(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("Locked_door", false, true);
PlaySoundAtEntity("", "unlock_door", "Locked_door", 0, false);
RemoveItem("Mansion_Key");
}

void MusicStart(string &in asParent, string &in asChild, int alState)
{
PlayMusic("sscary_ambient_music.ogg", true, 0.8f, 1, 0, true);
}

http://www.moddb.com/mods/jessehmusic - Hospital of horror , WIP
03-20-2012, 04:14 PM
Website Find


Messages In This Thread
Custom Music Dosnt work - by jessehmusic - 03-20-2012, 04:14 PM
RE: Custom Music Dosnt work - by SilentStriker - 03-20-2012, 04:43 PM
RE: Custom Music Dosnt work - by jessehmusic - 03-20-2012, 07:17 PM
RE: Custom Music Dosnt work - by SilentStriker - 03-20-2012, 07:27 PM
RE: Custom Music Dosnt work - by DaAinGame - 03-20-2012, 07:29 PM



Users browsing this thread: 1 Guest(s)