Jump to content

Recommended Posts

in the next python code
 
if player.GetItemCountByVnum(int(Switchvalue)) < 1:
   self.__activare_bonus()
 
The method __activate_bonus execute one mision,with the comand event.QuestButtonClick(quest) it runs, and shows the window of the mission
 
545fd36f4e513746ba98eb2c83e3d350.png
 
Now i want to simulate the key ESC with the comand app.DIK_ESC or app.DIK_ESCAPE to close the window of the mission, without the user pulls the key ESC 
 
 
Thx
Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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.