Jump to content
  • 0

Quest borders remain after quest


Omaman

Question

  • VIP

Hello devs,
I have a problem with a behavior of quest. Quest borders don't hide when I click on any of those buttons. 

Syntax of a quest:

quest FirstLogin begin
      state start begin
		when login or levelup with pc.level >0 begin
			set_state(OpenDialog)
		end
	end
	state OpenDialog begin
		when login begin
			say_title("Test")
			say("Test")
			say("Test")
			say("Test")
			local Sel = select("1", "2")
			if Sel == 1 then
				say_title("Test")
				return
			end
			say_title("Test")
			say("Test")
		end
	end
end

Thanks for your answer.

 

 

Link to comment
  • Answers 5
  • Created
  • Last Reply

Top Posters For This Question

5 answers to this question

Recommended Posts

  • 0
  • VIP
quest prvni_prihlaseni begin
	state start begin
		when login or levelup with pc.level > 0 begin
			set_state(otevrit_dialog)
		end
	end    
	state otevrit_dialog begin
		when login begin
			say_title("Test")
			say("Test")
			say("Test")
			say("Test")
			local a = select ("1", "2")
				if a == 1 then
				say_title("Test")
				wait()
				return
			elseif a == 2 then	
				return
			end
		end
	end
end

I don't test it, but should work

QJ0orbR.png

Metin2 Icon Database

Link to comment
  • 0

Put a say("something") after wait(). "wait(); return" makes this bug (as i remember)

$ uptime
1:26AM  up 732 days,  8:29, 1 user, load averages: 0.38, 0.31, 0.22

$ uname -srp
FreeBSD 9.1-RELEASE amd64

Link to comment

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.