View Single Post
01-31-21, 06:08 AM   #3
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,929
Is it possible that it is a part of the MicroMenu Help System and not just the New Player Experience. That frame appears when you get a new item added to your collection ...

Anyway, in nUI I needed to flip the arrow from the bottom pointing down to the top pointing up as nUI has the micromenu at the top of the screen. This is the code I used to do that.

Whether it will help you or not I don't know. But thought I would suggest it in case it does.

Lua Code:
  1. hooksecurefunc(HelpTip,"Show",
  2.     function(self)
  3.         for frame in self.framePool:EnumerateActive() do
  4.             if frame.info.system == "MicroButtons" then
  5.                 frame.info.targetPoint = HelpTip.Point.BottomEdgeCenter
  6.             end
  7.         end
  8.     end
  9. )

This was identified via the following Blizzard codeblock in ( https://www.townlong-yak.com/framexm...croButtons.lua )
Lua Code:
  1. function MainMenuMicroButton_ShowAlert(microButton, text, tutorialIndex, cvarBitfield)
  2.     if not MainMenuMicroButton_AreAlertsEnabled() then
  3.         return false;
  4.     end
  5.     if g_acknowledgedMicroButtonAlerts[microButton] then
  6.         return false;
  7.     end
  8.     cvarBitfield = cvarBitfield or "closedInfoFrames";
  9.     if tutorialIndex and GetCVarBitfield(cvarBitfield, tutorialIndex) then
  10.         return false;
  11.     end
  12.     if g_activeMicroButtonAlert then
  13.         local visiblePriority = MainMenuMicroButton_GetAlertPriority(g_activeMicroButtonAlert);
  14.         local thisPriority = MainMenuMicroButton_GetAlertPriority(microButton);
  15.         if visiblePriority < thisPriority then
  16.             -- Higher priority is shown
  17.             return false;
  18.         else
  19.             -- Lower priority alert is visible, kill it
  20.             g_processAlertCloseCallback = false;
  21.             HelpTip:HideAllSystem("MicroButtons");
  22.             g_processAlertCloseCallback = true;
  23.         end
  24.     end
  25.     local helpTipInfo = {
  26.         text = text,
  27.         buttonStyle = HelpTip.ButtonStyle.Close,
  28.         targetPoint = HelpTip.Point.TopEdgeCenter,
  29.         system = "MicroButtons",
  30.         onHideCallback = MainMenuMicroButton_OnAlertClose,
  31.         callbackArg = microButton,
  32.         autoHorizontalSlide = true,
  33.     };
  34.     if tutorialIndex then
  35.         helpTipInfo.cvarBitfield = cvarBitfield;
  36.         helpTipInfo.bitfieldFlag = tutorialIndex;
  37.     end
  38.     if HelpTip:Show(UIParent, helpTipInfo, microButton) then
  39.         g_activeMicroButtonAlert = microButton;
  40.     end
  41.     return true;
  42. end
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
  Reply With Quote