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

TimStTimSt Posts: 1,969
edited October 29 in General Discussions
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

  • poppspopps Posts: 4,316
    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 !
Sign In or Register to comment.