Do this
AddEntityCollideCallback("Player", "VoiceTrigger", "Prisoner", true, 1);
void Prisoner(string &in asParent, string &in asChild, int alState)
{
PlaySoundAtEntity("", "prisoner_edited.snt", "agrippa_1", 0, false);
}
Then make a folder in your custom story called SOUNDS.
Then in the folder, Copy an ALREADY existing .snt file from the main SOUNDS folder, (and assuming you already have an edited .ogg file named prisoner_edited.ogg) copy that too, into the sounds folder in your custom story.
Then rename the .snt file to prisoner_edited.snt
So in your Sounds folder located in Amnesia:The Dark Descent>custom_stories>[Your Map Name] You should have 2 files, one called prisoner_edited.snt and prisoner_edited.ogg
open the prisoner_edited.snt with Notepad(preferably Notepd++)and replace whatever is in there with this
<SOUNDENTITY>
<SOUNDS>
<Main>
<Sound File="prisoner_edited" />
</Main>
</SOUNDS>
<PROPERTIES Volume="0.7" MinDistance="10" MaxDistance="50" Random="1" Interval="0" FadeEnd="False" FadeStart="False" Stream="False" Loop="true" Use3D="True" Blockable="True" BlockVolumeMul="0.8" Priority="0" />
</SOUNDENTITY>
Edit the properties to you desire.
You do NOT need to locate the file in the script or level editor, the game will find the file itself.