Jump to content

Recommended Posts

I'd like to know how to make progressive quests...

When a quest is completed, I want it to unlock another quest.  The condition for the second quest to appear, to be first quest's completion. 

How can I do that? 

I need it because I'm going to have lots of quests and I cannot store them just in a single quest.

Link to comment
https://metin2.dev/topic/16074-progressive-quest/
Share on other sites

  • Replies 7
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Honorable Member
  • Solution

quest 1 end > set_quest_state("quest2name", "run");

 

for this to work, the "start" state on the 2nd quest must be empty.

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

Link to comment
https://metin2.dev/topic/16074-progressive-quest/#findComment-89505
Share on other sites

Acum 23 ore, Syreldar a spus:

quest 1 end > set_quest_state("quest2name", "run");

 

for this to work, the "start" state on the 2nd quest must be empty.

Can you please show me an example please? 

Like... 

state __complete__

end

set_quest_state("quest2name", "run") 

 

Or something like this

Link to comment
https://metin2.dev/topic/16074-progressive-quest/#findComment-89522
Share on other sites

  • Honorable Member
			set_quest_state("quest2", "run");
			set_state("complete");
		end -- when
	end -- state
	
	state complete begin
		when enter begin
			q.done();
		end -- when
	end -- state
end -- quest

or

			set_state("complete");
		end -- when
	end -- state
	
	state complete begin
		when enter begin
			set_quest_state("quest2", "run");
			q.done();
		end -- when
	end -- state
end -- quest

 

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

Link to comment
https://metin2.dev/topic/16074-progressive-quest/#findComment-89523
Share on other sites

And how my second quest should start?

 It starts like this fro now:

quest quest2 begin
	state quest1to2 begin
		when login or levelup with pc.get_level() >= 1 begin
			set_state(runThis2)
		end
	end

 

(for second quest) Don't I have to use "letter" state to run letter then send the second quest?

Link to comment
https://metin2.dev/topic/16074-progressive-quest/#findComment-89527
Share on other sites

  • Honorable Member

the 2nd quest must be

quest quest2 begin
	state start begin
	end -- state

	state run begin
		///
	end -- state

 

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

Link to comment
https://metin2.dev/topic/16074-progressive-quest/#findComment-89529
Share on other sites

Acum 11 ore, Syreldar a spus:

the 2nd quest must be


quest quest2 begin
	state start begin
	end -- state

	state run begin
		///
	end -- state

 

Ok, thank you very much. 

It works. 

But... if I make multiple quests like set_quest_state("quest3", "run") , set_quest_state("quest4", "run") at the end, the run state from that quest wont work.

 

EDIT: It works... but..... not really. I mean, this command is bugging the second quest. First quest is almost the same like first one, but when wait() happens, when i press Continue on the quest, the quest gets bugged, the black bars remain and does not continue the quest as it was supposed to.

Only the black bars (up and down) remain from the quest, but nothing happens.

Link to comment
https://metin2.dev/topic/16074-progressive-quest/#findComment-89531
Share on other sites

  • Honorable Member

Thats on your quest. The function works.

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

Link to comment
https://metin2.dev/topic/16074-progressive-quest/#findComment-89535
Share on other sites

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.