Originally Posted by Fizzlemizz
It's certainly possible but a bit more context about what you want to achieve might help you get some more specific information.
Edit: The most basic (rough as guts) is you have a frame with 3 buttons. In the OnClick event for button A and B.
For A:
Code:
self:GetParent().A_Clicked = true
if self:GetParent().A_Clicked and self:GetParent().B_Clicked then
--show button C
self:GetParent().A_Clicked = nil
self:GetParent().B_Clicked = nil
end
For B:
Code:
self:GetParent().B_Clicked = true
if self:GetParent().A_Clicked and self:GetParent().B_Clicked then
--show button C
self:GetParent().A_Clicked = nil
self:GetParent().B_Clicked = nil
end
Very rudimentry and open to refinement depending on requirement.
|
Thanks,
A bit more for more context What I am trying to do is once someone selects the type of NPC they want to find (vendor trainer ect), and what City they are looking in (Stormwind, Thunder bluff ect) It will then either set a waypoint to that location Or if there are multiple allow the user to choose the NPC they want to visit.