Jump to content

Recommended Posts

  • Replies 8
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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

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.