ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   Lua/XML Help (https://www.esoui.com/forums/forumdisplay.php?f=175)
-   -   How I can create a menu interface? (https://www.esoui.com/forums/showthread.php?t=892)

Artajörn 04/14/14 11:59 AM

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.

Cairenn 04/14/14 02:39 PM

Try taking a look at Seerah's LibAddonMenu to start, it may be of help.

Artajörn 04/15/14 01:01 PM

Quote:

Originally Posted by Cairenn (Post 4307)
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. :)


All times are GMT -6. The time now is 04:38 AM.

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