WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   nUI: Suggestion Box (https://www.wowinterface.com/forums/forumdisplay.php?f=91)
-   -   InfoPanel support for PetBattleMaster addon (https://www.wowinterface.com/forums/showthread.php?t=45101)

blademage727 11-08-12 04:06 PM

InfoPanel support for PetBattleMaster addon
 
Hi, I was wondering if anyone would be up for creating an InfoPanel plugin for supporting the PetBattleMaster addon (http://www.curse.com/addons/wow/petbattlemaster). I'm not really familiar with the coding for nUI's InfoPanel, otherwise I'd try to do it myself. If no one is up for it though, I'll probably give it a go anyways; I just thought I'd ask first to see.

Xrystal 11-08-12 05:35 PM

It's pretty simple to do. Take a look at hmm .. lets say .. trying to think of one of my simpler ones haha .. maybe the decursive one. I think I made that easy to convert into a new one.

Once you master making an infopanel for one addon you can usually tell if its possible for other ones due to limitations.

blademage727 11-11-12 09:02 PM

Okay, well I'll give it a shot. Also, do you know if it be possible to make a plugin that would put the Pet Battle Combat Log chat tab with the regular Combat Chat one in the infopanel? Or would it need to be done as it's own 'page'?

Xrystal 11-12-12 02:36 PM

I would assume by default it would be in with the combat log itself.

blademage727 11-12-12 11:14 PM

It's not. It has it's own separate chat window, which shows up as the last tab on the left side with the normal chats. At least that's how it is for me. =S I'll post a pic when I get a chance.

blademage727 11-14-12 08:01 PM

1 Attachment(s)
Here's that screenshot I mentioned. As you can see, the pet battle log is on the left side with the normal chats.

Xrystal 11-15-12 02:13 AM

I see. Well, theoretically, it should be possible to do something similar to my chat plugins where you tell it which messages to utilise. Assuming of course the Pet Battle stuff are chat messages of a set type.

Aha, well look like there is a special Pet Battle Log.

Code:

if ( FCFManager_GetNumDedicatedFrames("PET_BATTLE_COMBAT_LOG") == 0 ) then
    FCF_OpenTemporaryWindow("PET_BATTLE_COMBAT_LOG");
end

but not sure how it is utilised yet.


All times are GMT -6. The time now is 02:22 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI