Thread Tools Display Modes
01-18-07, 05:15 AM   #1
Silmano
A Murloc Raider
 
Silmano's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2007
Posts: 9
Adding buttons to NPC frames?

I was wondering how can I add a button to a merchant frame, for example, and make it do something when pressed...


I'm using ACE2 Libs on my future mod, so I dont really know if this should be posted here or in the ACE forum.
  Reply With Quote
01-18-07, 05:52 AM   #2
Macniel
A Fallenroot Satyr
 
Macniel's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2007
Posts: 26
hrm ...
I would set the Parent of this Button to the MerchantFrame, then you can position it with relative to x,y. When the MerchantFrame is invisible, the Button too.
  Reply With Quote
01-18-07, 06:57 AM   #3
Silmano
A Murloc Raider
 
Silmano's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2007
Posts: 9
Its a good idea, but I'm still starting with scripts and mods for WoW, can you explain it a little more script based? (with an example or a reference)
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » Adding buttons to NPC frames?

Thread Tools
Display Modes

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