Jump to content
  • Join-Us

    https://metin2.dev is the 1st international community on Metin2 development. Join us to develop your skills and share your knowledge with the community, respectful and ethical forum.

  • 0

"LoadDialog" multiple open uiscript file ?



Hi, I want to use different definitions for "UiScript". I tried but it doesn't work. How can I do it?


	def LoadDialog(self):
			PythonScriptLoader = ui.PythonScriptLoader()
			if shop.IsPrivateShop():
				PythonScriptLoader.LoadScriptFile(self, "UIScript/shopdialog2.py")
				PythonScriptLoader.LoadScriptFile(self, "UIScript/shopdialog1.py")
			import exception


Link to comment
Share on other sites

  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

2 answers to this question

Recommended Posts


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

  • 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.