Jump to content

Python - NPC and Shops LoadDialog


Recommended Posts

  • Active+ Member

Hi. I want to invoke the NPC and shop windows separately but it doesn't work at all. How can I do that?

 

Examp:

if shop.IsPrivateShop:
	self.offshop.Open(vid)
	self.offshop.SetTop()
else:
	self.dlgShop.Open(vid)
	self.dlgShop.SetTop()

or:

if chr.IsNPC():
	self.dlgShop.SetTop()
	self.dlgShop.Open(vid)
else:
	self.offshop.Open(vid)
	self.offshop.SetTop()

But doesn't work.

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.