Jump to content

Quest borders remain after quest


Go to solution Solved by Metin2 Dev,

Recommended Posts

  • Bot

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.

english_banner.gif

Link to comment
Share on other sites

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

raw

raw

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.