Thread Tools Display Modes
04/14/14, 11:59 AM   #1
Artajörn
Join Date: Apr 2014
Posts: 19
Question How I can create a menu interface?

Hi,

I'm trying to create an interface like the one used by the character menu and I have the following questions:
  1. How I can toggle the menu by pressing the "0" key? I've tried with:

    Code:
    <OnKeyDown key="KEY_0">
        ToggleMenuWindow ()
    </OnKeyDown>
    and with:

    Code:
    <OnKeyDown command="KEY_0">
        ToggleMenuWindow ()
    </OnKeyDown>
    but they don't work.
  2. Which is the style used by the menu window? I have proved with ZO_DefaultBackdrop but it isn't that.
  3. How I can toggle the interface mode? That one in which the camera focuses on the character and he looks to the player.

Regards and thanks in advance.

Last edited by Artajörn : 04/15/14 at 01:03 PM.
  Reply With Quote
04/14/14, 02:39 PM   #2
Cairenn
Credendo Vides
 
Cairenn's Avatar
Premium Member
WoWInterface Admin
Join Date: Mar 2004
Posts: 437
Try taking a look at Seerah's LibAddonMenu to start, it may be of help.
__________________
Co-Founder & Admin: MMOUI
Avatar Image by RaffaeleMarinetti
  Reply With Quote
04/15/14, 01:01 PM   #3
Artajörn
Join Date: Apr 2014
Posts: 19
Originally Posted by Cairenn View Post
Try taking a look at Seerah's LibAddonMenu to start, it may be of help.
Thank you very much about your recommendation. I'll take a look at it.

By the way, I already don't need to know how to assign the "0" key because I'm going to use a key binding system.

Regards.
  Reply With Quote

ESOUI » Developer Discussions » Lua/XML Help » How I can create a menu interface?

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