Jump to content
×
×
  • Create New...
  • 0

[How To] open a system in automatic


Lurinzo

Question

Hello
how can i open via lua quest

for exemple 

system option : where you have  camera \fog\graphic

you know what i mean, the one when you press  ESC button and then you have  itemshop\ game options \ system options\ change charachter \ log out \ etc etc


how can i open one of this system for exemple at the very first login via quest lua?

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0
  • Moon

Example:

 

quest test begin
       state start begin
       when login begin
        cmdchat("OpenHelpExygo")
      end -- state
    end -- Quest
    end

 

 

 

game.py

Fiind serverCommandList={ in def __ServerCommand_Build(self):

 

add inside this:

"OpenHelpExygo"                        : self.interface.OpenHelpWindow,

 

 

 

Usage: Open Help window by quest

 

  • Love 1
Link to comment
Share on other sites

  • 0

Example:

 

quest test begin
       state start begin
       when login begin
        cmdchat("OpenHelpExygo")
      end -- state
    end -- Quest
    end

 

 

 

game.py

Fiind serverCommandList={ in def __ServerCommand_Build(self):

 

add inside this:

"OpenHelpExygo"                        : self.interface.OpenHelpWindow,

 

 

 

Usage: Open Help window by quest

 

thank you infinite times man

But i have a second problem:

i must open a secondary button, so i donno exactly how to open 2 button directly, without showing the first menu
i want it open immidiatly 
that: 


http://i.imgur.com/qmAB848.png

Inside this Game Option button there is Select Lenguage
I want it open directly that menu, not "Game Option"

http://i.imgur.com/5hHoe4B.png

and 


i want it open that menu on the right side of the screen, with some X Y coordinates.

Can someone help me ? please

Sorry for disturb.

Edited by Lurinzo
forget somethings
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


Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.