🧙‍♂️ Brought to you by Peptides.gg — Use code UO20 for 20% off — GLP-1's, 90+ Peptides and more!

EC enhancement: Get a sound warning when revealed while hiding and stealthing

Started by TimSt · 2025-10-29 · 2 posts · General Discussions
#0
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
        

#1
TimSt said:
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
        

Thank you !
← Browse more General Discussions discussions