Thread Tools Display Modes
04-17-10, 10:04 AM   #1
Tobbe8716
An Aku'mai Servant
 
Tobbe8716's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2009
Posts: 36
Making a frame for the castbar (Kgpanels) help!

K I've tried a bit to google this. I copied a script from wowace tho the frame didnt dissapear after it had finsished casting. Anybody able to help? I'm not very go at this just copy/paste mostly myself and maybe editing some.


This is what i tried

On Load

self:RegisterEvent("UNIT_SPELLCAST_SENT")

On Event

if self.casting or self.channeling then
self:Show()
else
self:Hide()
end
__________________
Arp UI oUF_Arp

Last edited by Tobbe8716 : 04-17-10 at 10:18 AM. Reason: typo
  Reply With Quote
04-17-10, 12:58 PM   #2
Tobbe8716
An Aku'mai Servant
 
Tobbe8716's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2009
Posts: 36
Nvm solved it another way
__________________
Arp UI oUF_Arp
  Reply With Quote
05-19-10, 05:21 AM   #3
Aarokh
A Cyclonian
 
Aarokh's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2005
Posts: 40
And how?

Having the same issue.
  Reply With Quote
05-19-10, 05:37 AM   #4
Wella
A Rage Talon Dragon Guard
 
Wella's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 322
Using the default Blizzard cast bar, or a mod?
__________________
Addons I use, not that any of you care
* Bejeweled - For boring 5 minute flights to Tanaris
* Genie - Blizzard really should have implemented bag sorting by now
* ncHoverBind - I'm a Lock, what can you expect?
* oGlow - Agan, a missing feature
* Recount - Derp
* ShooShards - Another missing feature


"Your idea is good. So i will try it."
- popmissa
  Reply With Quote
05-19-10, 05:50 AM   #5
Aarokh
A Cyclonian
 
Aarokh's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2005
Posts: 40
I am using Quartz castbar at the moment, but the Quartz options don't allow border scaling. that's why I wanted to place a frame behind the quartz bar which will only whow while I or my target is casting.
  Reply With Quote
05-19-10, 06:37 AM   #6
Wella
A Rage Talon Dragon Guard
 
Wella's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 322
Make a macro of the following:
Code:
/script DEFAULT_CHAT_FRAME:AddMessage(GetMouseFocus():GetName() );
Place your cursor over any UI frame or element and click this macro (or just paste it into your edit box) and the name of the frame or element will be printed to your chat frame. Use this name to anchor a kgPanels frame. (It's case-sensitive, so be careful about that.)
__________________
Addons I use, not that any of you care
* Bejeweled - For boring 5 minute flights to Tanaris
* Genie - Blizzard really should have implemented bag sorting by now
* ncHoverBind - I'm a Lock, what can you expect?
* oGlow - Agan, a missing feature
* Recount - Derp
* ShooShards - Another missing feature


"Your idea is good. So i will try it."
- popmissa
  Reply With Quote
05-20-10, 05:35 AM   #7
Aarokh
A Cyclonian
 
Aarokh's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2005
Posts: 40
Sorry for the late response, had a meeting at work and couldn't respond earlier.

I "think" I tried that addon before, as well as trying to highlight the castbar frame with Fluidframe highlighting but it always responds with UIParent. I am not sure about it though.

I will try again and check later today when I am back home.
  Reply With Quote
05-20-10, 08:19 AM   #8
Maximillianm
A Deviate Faerie Dragon
Join Date: Mar 2009
Posts: 11
I always parented the panel to the Quartz bar and it worked fine.
  Reply With Quote
05-20-10, 09:51 AM   #9
Wella
A Rage Talon Dragon Guard
 
Wella's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 322
If you're not using a cast bar mod, I think you're going to have problems.
__________________
Addons I use, not that any of you care
* Bejeweled - For boring 5 minute flights to Tanaris
* Genie - Blizzard really should have implemented bag sorting by now
* ncHoverBind - I'm a Lock, what can you expect?
* oGlow - Agan, a missing feature
* Recount - Derp
* ShooShards - Another missing feature


"Your idea is good. So i will try it."
- popmissa
  Reply With Quote
05-20-10, 12:00 PM   #10
Aarokh
A Cyclonian
 
Aarokh's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2005
Posts: 40
I am using quartz, and when I over my mouse over the castbar while casting it only shows "Worldframe" in the chat.
This using your macro.

[Edit:]
Oh, I found the solution! the macro only shows the castbar name while you have the bars unfixed in the options so you can drag them around.

Last edited by Aarokh : 05-20-10 at 12:02 PM.
  Reply With Quote
05-20-10, 12:30 PM   #11
Wella
A Rage Talon Dragon Guard
 
Wella's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 322
Yeah, locking/unlocking with some mods can cause issues. Glad you fixed that.
__________________
Addons I use, not that any of you care
* Bejeweled - For boring 5 minute flights to Tanaris
* Genie - Blizzard really should have implemented bag sorting by now
* ncHoverBind - I'm a Lock, what can you expect?
* oGlow - Agan, a missing feature
* Recount - Derp
* ShooShards - Another missing feature


"Your idea is good. So i will try it."
- popmissa
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Making a frame for the castbar (Kgpanels)


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off