View Single Post
10/04/23, 08:01 AM   #3
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,999
You can try

/script RedirectTexture("EsoUI/Art/HUD/Gamepad/gp_HUDNotification_notification.dds", "")

-> Found here: https://github.com/esoui/esoui/blob/...L45C66-L45C123

Or add that line into any other addon's EVENT_ADD_ON_LOADED callback function (without the /script)

But this will make the bubble disappear game wide then, wherever it was used.


Or try this:
Lua Code:
  1. SecurePostHook(GAMEPAD_CHAT_SYSTEM, "Minimize", function()  
  2.     local self = GAMEPAD_CHAT_SYSTEM
  3.         if self.newChatFadeAnim and self.newChatFadeAnim:IsPlaying() then self.newChatFadeAnim:Stop() end
  4.         self.chatBubble:SetAlpha(0)
  5. end)
Should make it invisible as the chat minimizes.


This is the OnChatMaximize code then, which should show it again:
https://github.com/esoui/esoui/blob/...314C58-L314C69



Put that code in any addon's EVENT_ADD_ON_LOADED callback like this:
Lua Code:
  1. local function OnAddonLoaded(event, name)
  2.    if name == "MyAddonName" then
  3.        EVENT_MANAGER:UnregisterForEvent("MyAddonName", EVENT_ADD_ON_LOADED)
  4.  
  5.       SecurePostHook(GAMEPAD_CHAT_SYSTEM, "Minimize", function()  
  6.          local self = GAMEPAD_CHAT_SYSTEM
  7.          if self.newChatFadeAnim and self.newChatFadeAnim:IsPlaying() then self.newChatFadeAnim:Stop() end
  8.          self.chatBubble:SetAlpha(0)
  9.       end)
  10.    end
  11.  
  12.  --Or strip the above code and add the RedirectTexture here to remove the chat bubble texture in total -> ESO game wide!
  13. end
  14. EVENT_MANAGER:RegisterForEvent("MyAddonName", EVENT_ADD_ON_LOADED, OnAddonLoaded)

Last edited by Baertram : 10/04/23 at 08:13 AM.
  Reply With Quote