Jump to content

[How To] open a system in automatic


Recommended Posts

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

  • Active Member

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

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: 


https://metin2.download/picture/lm3pCXPZ4A3uA2u6l0m80dFuLqm0cy37/.png

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

https://metin2.download/picture/SKVA0EkTtG6Q75u0SEo90WB43qBP6kFa/.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 Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

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.