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);
}
|