Jump to content

Progressive quest?


Go to solution Solved by Syreldar,

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
Share on other sites

  • Replies 7
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Premium
  • 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
Share on other sites

  • Premium
			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
Share on other sites

  • Premium

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
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
Share on other sites

  • Premium

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