WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   General Authoring Discussion (https://www.wowinterface.com/forums/forumdisplay.php?f=20)
-   -   Adding buttons to NPC frames? (https://www.wowinterface.com/forums/showthread.php?t=8084)

Silmano 01-18-07 05:15 AM

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.

Macniel 01-18-07 05:52 AM

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.

Silmano 01-18-07 06:57 AM

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)


All times are GMT -6. The time now is 05:30 AM.

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