Hi all,
I am currently working on a mod in Amnesia the dark descent for a project for my dissertation. My only problem is that I need to include different music to the different rooms for my experiment at hand. Only problem is that ... i have no idea how to add it to my current script and I am really struggling trying to add it to area boxes. 
This is my current code:
Run first time starting map
 void OnStart()
{  
  AddUseItemCallback("", "key_1", "locked_door1", "UsedKeyOnDoor", true);
  SetEntityCallbackFunc("key_1", "OnPickup");
}
void UsedKeyOnDoor(string &in asItem, string &in asEntity)
{
  SetSwingDoorLocked("locked_door1", false, true);
  PlaySoundAtEntity("", "unlock_door.snt", "locked_door1", 0, false);
  RemoveItem("key_1");
}
void OnPickup(string &in asEntity, string &in type)
{
  SetEntityActive("monster_grunt", true);
  ShowEnemyPlayerPosition("monster_grunt");
}
////////////////////////////
// Run when entering map
void OnEnter()
{
FadeOut(0);
	FadeIn(50);
AddEntityCollideCallback("Player", "Bedroom", "Start", true, 1);
}
void start(string &in asParent, string &in asChild, int alstate)
{
	PlaySoundAtEntity("", "06_amb.ogg", "Player", 0, false);
}
 
////////////////////////////
// Run when leaving map
void OnLeave()
{
 
} 
Any heads up would be greatly appreciated 

 Thanks