Jump to content

Custom quest pop-up


eeny

Recommended Posts

I'm starting to write quest profiles for Draenor.. however im coming to a stop with the whole 'base selection process'.  I was thinking an interact with target followed with a macro to click the button to select the base, however 

/run print(GetMouseFocus():GetName())

Returns a nil value- only /framestack appears to give some useful into.  what macro should i use to get the bot to push that button to continue the profile?

Get_mouse.png

Framestack.png

Link to comment
Share on other sites

Hello, try to use lua macro (not code):

/click QuestChoiceFrameOption1.OptionButton

Or lua code (not macro): (https://github.com/tomrus88/BlizzardInterfaceCode/blob/f53f4cadda882fa4cfce60d9b5ae1e1409faa022/Interface/AddOns/Blizzard_QuestChoice/Blizzard_QuestChoice.lua#L93 )

QuestChoiceFrameOptionButton_OnClick(QuestChoiceFrameOption1)

or

SendQuestChoiceResponse(1);
HideUIPanel(QuestChoiceFrame);

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...