"Custom-Backdrops"? - Need Help
Hello,
atm I'am creating a little addon that should show a Frame on READY_CHECK. That part of my little addon is working as expected, but there is one part which is not working - here is the code of my Frame: Code:
BFC_Frame = CreateFrame("Frame", "BFC_Frame", UIParent) http://img341.imageshack.us/img341/5...odflaskche.png The file is saved in the tga-Format. Any ideas why it is not working? |
The sizes of WoW textures must be a power of 2. So 128*64 or 256*256, etc.
|
Thats the point!
Thank you for your help. |
Okay... another question.
I set my main-frame to the following: BFC_Frame:RegisterEvent("READY_CHECK_CONFIRM") If my charackter is a assistant the Event is "thrown" - respectively my frame is registering it and I can do something in my OnEvent-Function. But if the character is not a raid-assistant it seems like that there is no event. And ideas about it? |
That's because you're using the wrong event. READY_CHECK_CONFIRM fires when someone *responds* to a ready check. You want just READY_CHECK.
|
I think that I didn't posted enough informations.
I'am already using READY_CHECK. On READY_CHECK I show my frame. On a READY_CHECK_CONFIRM I close the window. But as I can see on wowwiki the READY_CHECK_CONFIRM returns a unit_id.. |
Well, READY_CHECK_CONFIRM only fires for the raid leader/assistant (when someone responds to a ready check) so that they can see who is and is not ready. It doesn't fire for other raid members (as you have already seen). You could instead hook the OnClick handler of the buttons for the ready check window...
Perhaps if you explain what you are trying to do, we can be of more assistance. |
Quote:
In our guild we sometimes have the problem that our players doesn't take their bufffod/flasks because they forget it. My idea was a little addon that creates and show a frame on a READY_CHECK with a little bufffood and/or flask-icon to show the player that he or she is missing something. ATM it is working with that stuff which I described in my former postings. If you would like to see the addon you can download it here: http://segorawow.googlecode.com/file...FlaskCheck.rar It is not ready yet, because I'am planning some funny stuff with soundfiles.. :banana: But maybe you are able to unterstand more what I want to do if you see my code. Maybe you will also see some stuff that is not very well "coded". I'am a absolute noob in the lua/wow-api stuff - I'am more in php/javascript etc.. Thank you for your time and tips. |
All times are GMT -6. The time now is 06:14 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI