mulukulu 0 Posted September 14, 2014 Share Posted September 14, 2014 (edited) Good evening everyone, i got a little problem with a button for an switchbot. I allready added this button an some 3 others. 3 of them are connectet with a quest but i dont know how to open the switchbot with this button. In the game.py i add the switchbot and i can open it with F8 ( ) so i thought i can use this command but it dosn´t work. How i defined it in the game.py: and my attempt in the uiinventory.py so please can someone help me with this problem. I think its pretty easy... best regards Edited August 18, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Denis 1474 Posted September 14, 2014 Share Posted September 14, 2014 def ClickSwitchButton(self): import uiswitchbonus2 uiswitchbonus2.SwitchBotDialog().Show() 2 Link to comment Share on other sites More sharing options...
mulukulu 0 Posted September 14, 2014 Author Share Posted September 14, 2014 It works! Thank you for your fast support Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now