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

.....


Avisek

Question

  • Answers 8
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

8 answers to this question

Recommended Posts

  • 0

Search:

self.mallButton = self.GetChild2("MallButton")

And under adds:

self.teleport_buttonClick = self.GetChild2("TeleportButton")

Search:

self.mallButton.SetEvent(ui.__mem_func__(self.ClickMallButton))

And under adds: 

self.teleport_buttonClick.SetEvent(ui.__mem_func__(self.teleport_buttonClick))

Search:

def ClickMallButton(self):

And under adds:

def teleport_buttonClick(self):
		import uiteleport
		self.teleport = uiteleport.TeleportWindow()
		self.teleport.Open()

In inventorywindow.py add new button with the name "TeleportButton" and test

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
  • Recently Browsing   0 members

    • No registered users viewing this page.


  • Activity

    1. 0

      Navicat Premium 16.1.1 x64

    2. 5

      problem Dargon Soul Changre Attribute

    3. 5

      problem Dargon Soul Changre Attribute

    4. 41

      Global Chat

    5. 5

      problem Dargon Soul Changre Attribute

    6. 2

      Startup Loading Window Library

    7. 28

      Ludus2: metin2 fan project

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.