EC enhancement: Get a sound warning when revealed while hiding and stealthing
The following code fragment for the EC will play the panic sound when you are revealed while you are hiding or stealthing through a dungeon looking for hidden chests. This audible warning is helpful when your character is revealed while underneath a mob that blocks your view of your character.
Add the following to the function TextParsing.SpecialTexts in your source\TextParsing.lua file
if (SystemData.TextID == 500816) then --You have been revealed!
PlaySound(1, 1088, WindowData.PlayerLocation.x,WindowData.PlayerLocation.y,WindowData.PlayerLocation.z)
end
Comments