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

[help]key ESC


xxbasuraxx

Question

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
Link to comment
Share on other sites

  • Answers 0
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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.