The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Tutorials and Eventing => Topic started by: bioevy on May 20, 2007, 05:09:38 PM

Title: A little problem....
Post by: bioevy on May 20, 2007, 05:09:38 PM

                                     [RESOLVED]


i have a little problem in programming the game as it should be.
the story should be like this:

you make a quest to an old man, where you get a treasure chest from some thieves in a cave.
after you defeated the and finished the quest, you talk to a guy named dk and he joins your party.
i have problems with this.
here is how the event looks now:
Old man:
@>Conditional Branch: [Ancient Treasure] in inventory
     @>Text: You.... you found it! you got my ancient treasure back!
     @>Please, take this in return!
     @>Change Weapons: [Iron Rod] +1
     @>Text: You Received: An Iron Rod!
     @>Change Items: [Ancient Treasure] -1
     @>
:    Else
     @>Text: Help! some thieves stole something very precious to me! you need to help me!
     @>Show Choices: Yes, No
:   When  [yes]
     @>Text: thank you.I believe someone in the village knows where the thieves are.
     @>Control Switches: [0004 Finished Quest] = ON
     @>
:    When  [No]
      @> Text: It's okay, if you change your mind i'll be right here.
      @>
   : Branch End
  @>
: Branch End
@>




Is something wrong with this script?

problems that occur:

after finishing the quest dk acts as if the quest hasn't been completed:

i can make the quest 100 times, it will always be there.

why does this happen?
Title: Re: A little problem....
Post by: :) on May 20, 2007, 05:10:58 PM
I dont understand the problem, also it's an event not a script.  :D
Title: Re: A little problem....
Post by: venn177 on May 20, 2007, 05:12:58 PM
Yeah it uhh....it looks fine.
Title: Re: A little problem....
Post by: Zeriab on May 20, 2007, 05:48:40 PM
Switches is your answer to this problem.
Click on my sig to learn about them ^_^

You got to turn on a switch the Ancient Treasure in inventory branch to make sure it can't be done again.