Main Menu
  • Welcome to The RPG Maker Resource Kit.

Quest Journal HELP

Started by sirfrivixx028, January 26, 2013, 06:39:48 AM

0 Members and 1 Guest are viewing this topic.

sirfrivixx028

So here's the Script code I entered in my event where the player accepted the quest:



And this code where the player Finished the quest:



Supposedly my Quest entitled "Claire Gronalyn" should be enlightened GREEN. Just like the first objective which is "Find and talk to claire" when finished and accomplished, but it is not.



And that quest  "Claire Gronalyn" should appear in the COMPLETED QUEST panel.



What I'm doing wrong? Help me please.
This is Modern Algebra's QUEST JOURNAL btw.

Here's my modified Script:
https://www.dropbox.com/s/czwzxcoaz7by93e/Quest%20Log.txt

modern algebra

#1
The problem is that you are setting it so that it has more objectives than necessary and you set it so that the prime objective was 2, not 0. You should change it to:


    when 1 # Quest 1 - Claire
      q[:name]              = "Claire Gronalyn"
      q[:description]       = "Claire Gronalyn, your foster parent is looking for you."
      q[:objectives][0]     = "Find and talk to Claire."
      q[:prime_objectives]  = [0]
      q[:rewards]           = [
        [:exp, 50],
        [:gold, 100],
      ]


In other words, if you aren't using more than one objective, don't set more than one objective. Also, set the prime objectives to include only the ID of the objective you need to complete before the quest is completed.

Additionally, where you aren't modifying the default value of a setting (such as q[:layout]), you do not need to include it.

sirfrivixx028


modern algebra

I'm happy that I could help!