• 0

    posted a message on eePanels2 - Official Thread
    Quote from Evil Elvis »

    Yes, this looks like it's your problem. Plus, the script is attached to a create-on-demand frame, so I think (can't remember, too tired to check) that the script isn't ever being called either. You could easily test that by putting "eePanels2:print("script called") at the very top of the script, but it won't help you too much.


    thanks alot :)
    I reattached the panels to UIParent and moved them from there to where they should be, now the script works perfect :)

    On a second note, what is the if-sentence called if i want to check if partymember1 (and 2 etc.) has a target?
    Posted in: General AddOns
  • 0

    posted a message on eePanels2 - Official Thread
    sadly still wont work, not panel #25 is the only one with a script, i did do a /rl before checking it, but after joining or creating a group i still have to do a /rl

    ... could it be like you explained with quartz earlier that the party frames are first created when they are needed and thus i cant anchor to them?
    Posted in: General AddOns
  • 0

    posted a message on eePanels2 - Official Thread
    Quote from Evil Elvis »

    No, the script should only be in the last panel; none of the others. But I'm not sure that would keep it from working. Post again once you've corrected it.


    script is now only in panel #25, still when joining or creating a party, it doesn't make the panels appear, they still require a /rl :(
    Posted in: General AddOns
  • 0

    posted a message on eePanels2 - Official Thread
    Quote from Evil Elvis »

    No, the entire script that you posted should be in eePanel25 or higher. All of it.


    it is, the entire script is in the highest panel, all other panels also have the script, but minus the last couple of lines. Dunno if thats how it should be done :S
    Posted in: General AddOns
  • 0

    posted a message on eePanels2 - Official Thread
    Quote from Evil Elvis »

    There's your problem. The script needs to be in the last panel referenced - or a panel with a number higher than the last panel referenced - by the script so that it will work.


    Ok, i added those lines to the last panel that needs to be hidden/shown etc. by the script (that would be the party member 4 target frame, in the cluster), code is identical to the one i posted before just that the four lines are now in the last panel (the one with the highest number) used in the script... still doesn't work thou :(
    Posted in: General AddOns
  • 0

    posted a message on eePanels2 - Official Thread
    Yeah, i read the last few pages, and tried the codes mentioned, however i dont know LUA so dont know what to change where etc. except for the obvious ones.

    this is the script or what you call it, that i have attached to all the frames that contain the artwork for my party frames (its alot)
    function eePanels2:RaidPanelVisibility(self, event, ...)
      
        -- Just you / not in a party
        if GetNumPartyMembers() < 1 then
          eePanel10:Hide()
          eePanel11:Hide()
          eePanel12:Hide()
          eePanel13:Hide()
          eePanel14:Hide()
          eePanel15:Hide()
          eePanel16:Hide()
          eePanel17:Hide()
          eePanel18:Hide()
          eePanel19:Hide()
          eePanel20:Hide()
          eePanel21:Hide()
          eePanel22:Hide()
          eePanel23:Hide()
          eePanel24:Hide()
          eePanel25:Hide()
        -- You plus 1 other person
        elseif GetNumPartyMembers() == 1 then
          eePanel10:Show()
          eePanel11:Show()
          eePanel12:Hide()
          eePanel13:Hide()
          eePanel14:Hide()
          eePanel15:Hide()
          eePanel16:Hide()
          eePanel17:Hide()
          eePanel18:Show()
          eePanel19:Show()
          eePanel20:Hide()
          eePanel21:Hide()
          eePanel22:Hide()
          eePanel23:Hide()
          eePanel24:Hide()
          eePanel25:Hide()
        -- You plus 2 other people
        elseif GetNumPartyMembers() == 2 then
          eePanel10:Show()
          eePanel11:Show()
          eePanel12:Show()
          eePanel13:Show()
          eePanel14:Hide()
          eePanel15:Hide()
          eePanel16:Hide()
          eePanel17:Hide()
          eePanel18:Show()
          eePanel19:Show()
          eePanel20:Show()
          eePanel21:Show()
          eePanel22:Hide()
          eePanel23:Hide()
          eePanel24:Hide()
          eePanel25:Hide()
        -- You plus 3 other people
        elseif GetNumPartyMembers() == 3 then
          eePanel10:Show()
          eePanel11:Show()
          eePanel12:Show()
          eePanel13:Show()
          eePanel14:Show()
          eePanel15:Show()
          eePanel16:Hide()
          eePanel17:Hide()
          eePanel18:Show()
          eePanel19:Show()
          eePanel20:Show()
          eePanel21:Show()
          eePanel22:Show()
          eePanel23:Show()
          eePanel24:Hide()
          eePanel25:Hide()
        -- You in a full group
        elseif GetNumPartyMembers() == 4 then
          eePanel10:Show()
          eePanel11:Show()
          eePanel12:Show()
          eePanel13:Show()
          eePanel14:Show()
          eePanel15:Show()
          eePanel16:Show()
          eePanel17:Show()
          eePanel18:Show()
          eePanel19:Show()
          eePanel20:Show()
          eePanel21:Show()
          eePanel22:Show()
          eePanel23:Show()
          eePanel24:Show()
          eePanel25:Show()
      end
      
    end
    
    -- Ace2 event listeners; can't do this in more than one script
    eePanels2:RegisterEvent("PLAYER_ENTERING_WORLD", eePanels2.RaidPanelVisibility)
    eePanels2:RegisterEvent("PARTY_MEMBERS_CHANGED", eePanels2.RaidPanelVisibility)
    eePanels2:RegisterEvent("RAID_ROSTER_UPDATE", eePanels2.RaidPanelVisibility)


    still, when i join a party, the graphics still dont show up, first when i do a reloadui

    EDIT
    Just to mention, the last 4 lines or so is only present in the first panel with the script, like the comment says it shouldn't be in more than one script

    please help :(
    Posted in: General AddOns
  • 0

    posted a message on eePanels2 - Official Thread
    Sorry if this has already been answered, i searched the forum but didn't find anything that answered it.

    I currently use Eepanels2 with Pitbull to add some custom background artwork to the unitframes.
    it works on all frames except the clusters, they only work if i do a reloadui after joining a group/raid/bg, or if im already in one when i log in.

    here is a bit more in detail.

    1. I log into wow, solo, not in group
    2. I get invited to a group, raid or bg (or i invite others)
    3. frames from PitBull show up, but the artwork attached to them dont
    4. i do a /rl
    5. artwork now appears

    or...

    1. I log into wow, in a group, raid or bg
    2. cluster frames artwork load along with other eepanels frames.

    ....

    please help, is there any script i can use to update the frames or something? :S
    Posted in: General AddOns
  • To post a comment, please or register a new account.