thank you, this time this actually worked, RedirectTexture this time didn't made other elements invisible like before, decided to leave rest of the code to make sure that it will stay invisible even if it's not really needed, I hope that future requests gonna be easier and not as time consuming as this was
Code:
local function OnAddonLoaded(event, name)
if name == "GamepadChatIconBegone" then
EVENT_MANAGER:UnregisterForEvent("GamepadChatIconBegone", EVENT_ADD_ON_LOADED)
SecurePostHook(GAMEPAD_CHAT_SYSTEM, "Minimize", function()
local self = GAMEPAD_CHAT_SYSTEM
if self.newChatFadeAnim and self.newChatFadeAnim:IsPlaying() then self.newChatFadeAnim:Stop() end
self.chatBubble:SetAlpha(0)
end)
end
RedirectTexture("EsoUI/Art/HUD/Gamepad/gp_HUDNotification_notification.dds", "/esoui/art/icons/heraldrycrests_misc_blank_01.dds")
end
EVENT_MANAGER:RegisterForEvent("GamepadChatIconBegone", EVENT_ADD_ON_LOADED, OnAddonLoaded)
Originally Posted by Baertram
I'll see if I can find a see-through .dds somewhere in esoui default textures so the size remains the same.
Edit:
Found one
RedirectTexture("EsoUI/Art/HUD/Gamepad/gp_HUDNotification_notification.dds", "/esoui/art/icons/heraldrycrests_misc_blank_01.dds")
|