Thread Tools Display Modes
10-27-08, 09:38 PM   #1
Grimsin
A Molten Giant
 
Grimsin's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2006
Posts: 990
Hot Spots Mal/Abrax

okay so in both mal and abra's Mazzle look a likes have hot spots. Mal has them for the menu bar, bar bar and a context menu. Abrax's UI has the ones around the target window. How can we go about getting both in there? lol also is it possible to make a button that is clickable but invisible like the orig hot spots but useing macaroon? or any other mod? there must be im guessing that mazzle used macros just like mal did for his. so how do we go about that?
  Reply With Quote
10-29-08, 11:16 PM   #2
dunzer
A Deviate Faerie Dragon
Join Date: Oct 2007
Posts: 11
KGpanels and scripts will work
  Reply With Quote
10-30-08, 10:28 AM   #3
groove
A Deviate Faerie Dragon
Join Date: Oct 2007
Posts: 18
What would the KGpanel scripts be for the /whisper, /trade, /follow, /inspect hotspots? I've been wondering about that actually.
  Reply With Quote
10-30-08, 10:37 AM   #4
Grimsin
A Molten Giant
 
Grimsin's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2006
Posts: 990
look at the post about the target cave load lag. the script for those was posted i n there. i havnt used those ones but there supposed to be better then the ones that im currently using anyhow so i would try to use those ones first.
  Reply With Quote
10-30-08, 05:48 PM   #5
groove
A Deviate Faerie Dragon
Join Date: Oct 2007
Posts: 18
No, those aren't the scripts I'm looking for. Those scripts show how to get the hotbuttons to simply APPEAR using kgpanels. I'm asking for the script that you assign to a hotbutton panel, so that when you click that panel, it initiates a /whisper, or /trade. See?
  Reply With Quote
10-30-08, 06:03 PM   #6
malathar
A Cliff Giant
AddOn Compiler - Click to view compilations
Join Date: Mar 2008
Posts: 70
Place these in the OnClick section of their respective panels.

Follow:
FollowUnit("target")

Inspect:
InspectUnit("target")

Whisper:
local name, realm = UnitName("target");
if(realm) then
ChatFrame_SendTell(name.."-"..realm);
else
ChatFrame_SendTell(name)
end

Trade:
InitiateTrade("target")
  Reply With Quote
10-30-08, 10:03 PM   #7
groove
A Deviate Faerie Dragon
Join Date: Oct 2007
Posts: 18
Aha, that is exactly what I was looking for, ty
  Reply With Quote
11-02-08, 02:10 AM   #8
Viciusan
A Cliff Giant
 
Viciusan's Avatar
Join Date: Nov 2007
Posts: 70
What textures do you guys use for those hotspots ?
__________________
  Reply With Quote
11-10-08, 10:32 PM   #9
erogroth
A Cyclonian
Join Date: Dec 2006
Posts: 43
I am trying to figure out a script for the onclick to remove hide and unhide the bag and main menu bars. Racking my brain with no luck. Any help?
  Reply With Quote
11-11-08, 01:51 PM   #10
malathar
A Cliff Giant
AddOn Compiler - Click to view compilations
Join Date: Mar 2008
Posts: 70
If you're using dominos then its

Dominos:ToggleFrames("menu")
Dominos:ToggleFrames("bags")

I think those are right, can't log into wow to check atm.

If you're using Macaroon. Then you won't be able to toggle them with a script. You'll need to make a macro because there is only a slash command to toggle them.

/mac hidden barname (barname being case sensitive.)
  Reply With Quote
11-11-08, 09:51 PM   #11
erogroth
A Cyclonian
Join Date: Dec 2006
Posts: 43
I am using Macaroon and I did make a macro but I don't know how to execute the macro in kgpanels. What what I put in the onclick to make the macro run?
  Reply With Quote
11-11-08, 10:27 PM   #12
Yhor
A Pyroguard Emberseer
 
Yhor's Avatar
Join Date: May 2007
Posts: 1,077
Originally Posted by erogroth View Post
I am using Macaroon and I did make a macro but I don't know how to execute the macro in kgpanels. What what I put in the onclick to make the macro run?

With macaroon, I believe you don't actually need to insert into Kgpanels. You make single button bars that 'act' as hotspots. If I could log into game, I'd take a screen shot or 3 of the process. In short, just use hidden buttons with a /follow macro, /whisper macro (or /tt [tell target] if you have a chat mod that supports it).. etc.
  Reply With Quote
11-14-08, 11:00 AM   #13
Grimsin
A Molten Giant
 
Grimsin's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2006
Posts: 990
actually you can do it two ways either useing kg panels and macros or useing macaroon. each one gives you some slightly dif abilitys with the buttons so it dpends what you want to do but.... i have the hot buttons around the target cave on kg and the bag and menu bar hot spots and the context menu are hooked to macaroon.
  Reply With Quote
11-21-08, 07:34 PM   #14
Grimsin
A Molten Giant
 
Grimsin's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2006
Posts: 990
what would be the code for a focus button done the same way we did all the others?
  Reply With Quote
05-04-09, 09:37 PM   #15
Grimsin
A Molten Giant
 
Grimsin's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2006
Posts: 990
Huh i know this is an old thread but some good info and i have more info to add to it. There is a bit of script that will open/close macaroon bagbar/menubar

its not small.... lol. Unfortunately i have not found a parent frame other then a frame that handles more then the frames we want to hide so each button has to be hidden.

This may not work in KGpanels i have not tried it. But theoretically this or something VERY similar should work.


if MacaroonBagButton1:IsVisible() then
MacaroonBagButton1:Hide()
else
MacaroonBagButton1:Show()
end
if MacaroonBagButton2:IsVisible() then
MacaroonBagButton2:Hide()
else
MacaroonBagButton2:Show()
end
if MacaroonBagButton3:IsVisible() then
MacaroonBagButton3:Hide()
else
MacaroonBagButton3:Show()
end
if MacaroonBagButton4:IsVisible() then
MacaroonBagButton4:Hide()
else
MacaroonBagButton4:Show()
end
if MacaroonBagButton5:IsVisible() then
MacaroonBagButton5:Hide()
else
MacaroonBagButton5:Show()
end
if MacaroonMenuButton1:IsVisible() then
MacaroonMenuButton1:Hide()
else
MacaroonMenuButton1:Show()
end
if MacaroonMenuButton2:IsVisible() then
MacaroonMenuButton2:Hide()
else
MacaroonMenuButton2:Show()
end
if MacaroonMenuButton3:IsVisible() then
MacaroonMenuButton3:Hide()
else
MacaroonMenuButton3:Show()
end
if MacaroonMenuButton4:IsVisible() then
MacaroonMenuButton4:Hide()
else
MacaroonMenuButton4:Show()
end
if MacaroonMenuButton5:IsVisible() then
MacaroonMenuButton5:Hide()
else
MacaroonMenuButton5:Show()
end
if MacaroonMenuButton6:IsVisible() then
MacaroonMenuButton6:Hide()
else
MacaroonMenuButton6:Show()
end
if MacaroonMenuButton7:IsVisible() then
MacaroonMenuButton7:Hide()
else
MacaroonMenuButton7:Show()
end
if MacaroonMenuButton8:IsVisible() then
MacaroonMenuButton8:Hide()
else
MacaroonMenuButton8:Show()
end
if MacaroonMenuButton9:IsVisible() then
MacaroonMenuButton9:Hide()
else
MacaroonMenuButton9:Show()
end
if MacaroonMenuButton10:IsVisible() then
MacaroonMenuButton10:Hide()
else
MacaroonMenuButton10:Show()
end
if MacaroonMenuButton11:IsVisible() then
MacaroonMenuButton11:Hide()
else
MacaroonMenuButton11:Show()
end
  Reply With Quote
05-04-09, 10:07 PM   #16
Torhal
A Pyroguard Emberseer
 
Torhal's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2008
Posts: 1,196
Originally Posted by Grimsin View Post
<snip> There is a bit of script that will open/close macaroon bagbar/menubar

its not small.... lol. <snip>
Here's the same script, condensed:

Code:
for i = 1, 5 do
        local bag_btn = _G["MacaroonBagButton"..i]
        if bag_btn:IsVisible() then
                bag_btn:Hide()
        else
                bag_btn:Show()
        end
end

for i = 1, 11 do
        local menu_btn = _G["MacaroonMenuButton"..i]
        if menu_btn:IsVisible() then
                menu_btn:Hide()
        else
                menu_btn:Show()
        end
end
__________________
Whenever someone says "pls" because it's shorter than "please", I say "no" because it's shorter than "yes".

Author of NPCScan and many other AddOns.
  Reply With Quote
05-05-09, 10:47 AM   #17
Grimsin
A Molten Giant
 
Grimsin's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2006
Posts: 990
I knew there had to be a shorter way! Thanks!
__________________
"Are we there yet?"

GrimUI
[SIGPIC][/SIGPIC]
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » Hot Spots Mal/Abrax


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