Jump to content
×
×
  • Create New...
  • 0

Progressive quest?


HisaoShou

Question

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

  • Answers 7
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

7 answers to this question

Recommended Posts

  • 0
  • Premium

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

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

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

  • 0

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

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

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

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

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
  • Recently Browsing   0 members

    • No registered users viewing this page.


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.