The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Tutorials and Eventing => Topic started by: Fufufuwie on January 11, 2009, 07:54:15 PM

Title: Another quest question (Answered)
Post by: Fufufuwie on January 11, 2009, 07:54:15 PM
What if you wanted the ncp to give you something and give it to another ncp? :epic:
Title: Re: Another quest question
Post by: Revo on January 11, 2009, 08:11:25 PM
I attached a simple demo of what you would do. Just open the project and look at the events and see what they do.
Title: Re: Another quest question
Post by: Fufufuwie on January 11, 2009, 08:19:59 PM
I attached a simple demo of what you would do. Just open the project and look at the events and see what they do.

Oh no, it won't open that sucks.. there's a incompatibility between software versions..
Could you or someone else type up the answer :?
Title: Re: Another quest question
Post by: Revo on January 11, 2009, 08:41:30 PM
Alright, I guess that means you're using the PK version. Why don't people just pirate the real version. :-\

Anyway, here's what it was.

Event 1(Person giving the item to be delivered):
Page 1:
Code: [Select]
Text: Go give this pouch to that other guy.
Change Items: +1 Pouch
Self Switch A = On
Page 2(In the 'Conditions' box, check 'Self Switch' and make sure it's set to 'A'):
Code: [Select]
Conditional Branch: [Pouch] in inventory
  Text: What are you? Stupid? Go give it to him!
else
  Text: Thanks. Here's your reward.
  Play ME: 'Fanfare'
  Change Gold: +98709
  Text: You got a crapton of Gold!
  Self Switch B = On
Branch end
Page 3(In the 'Conditions' box, check 'Self Switch' and make sure it's set to 'B'):
Code: [Select]
Text: I gave you your reward, no go away.

Event 2(Person receiving the item):
Page 1:
Code: [Select]
Conditional Branch: [Pouch] in inventory
  Text: Oh good. Thank you for bringing this.
  Change Items: -1 Pouch
  Self Switch A = On
else
  Text: Go talk to the other guy to start the quest.
Branch end
Page 2(In the 'Conditions' box, check 'Self Switch' and make sure it's set to 'A'):
Code: [Select]
Text: This is what I say after you have given me the item and completed the quest and has nothing to do with the quest.

It can be a bit confusing at first, but after a while you'll understand it easier.
Title: Re: Another quest question
Post by: Fufufuwie on January 11, 2009, 09:16:50 PM
Thank you :)
Title: Re: Another quest question (Answered)
Post by: Hparthenay on March 30, 2009, 08:07:37 AM
Ummm sorry to ask (and I probably sound stupid but what axactly does the "Control Selfswitch =A" thing do? ???
Title: Re: Another quest question (Answered)
Post by: Railium on April 18, 2009, 03:41:31 PM
A Control Self Switch makes it so that if something already happened, it will not happen again.