Jump to content

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
https://metin2.dev/topic/1111-quest-borders-remain-after-quest/
Share on other sites

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

  • 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

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



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.