Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Reply to this topicStart new topic
> Player Quest, How do I do this?
Shadow_Satey
post Oct 23 2010, 08:29 PM
Post #1


Level 6
Group Icon

Group: Member
Posts: 88
Type: Writer
RM Skill: Skilled




How do I make a quest where the player must turn in a certain number of items for a reward?


__________________________
"An ocelet never lets his prey escape."
Go to the top of the page
 
+Quote Post
   
KD648
post Oct 24 2010, 06:48 AM
Post #2


Level 13
Group Icon

Group: Revolutionary
Posts: 237
Type: Writer
RM Skill: Skilled




It really depends upon the specifics of the quest... but i'm going to go ahead and say that the best way to do it would be with a conditional branch. It can check if your player has a specific item in his inventory and select either the "end quest" dialogue or have the quest continue. However, I think that might only check if your party has one of a specific item, not several. You might need to get variables or switches involved if you want to make an MMORPG like quest.

Tell me exactly what you want with all of the details, and I'll let you know what I think.


__________________________
The Demo of "After" is complete! Learn more and play here!

Read the RRR Official Preview: http://www.rpgrevolution.com/forums/index....showtopic=52257
I support

Go to the top of the page
 
+Quote Post
   
Valdred
post Oct 24 2010, 07:42 AM
Post #3


Level 4
Group Icon

Group: Member
Posts: 56
Type: Developer
RM Skill: Advanced




In the event the player should give the items to, do the following:

Make a conditional branch set to script:
CODE
$game_party.item_number(x) >= y

Exchange x with the id of the item, and y with the number of items required.

Ilustration


This post has been edited by Valdred: Oct 24 2010, 07:43 AM


__________________________
Go to the top of the page
 
+Quote Post
   
-dah0rst-
post Oct 25 2010, 12:28 AM
Post #4


Level 11
Group Icon

Group: Revolutionary
Posts: 174
Type: Scripter
RM Skill: Advanced




QUOTE (Valdred @ Oct 24 2010, 08:42 AM) *
In the event the player should give the items to, do the following:

Make a conditional branch set to script:
CODE
$game_party.item_number(x) >= y

Exchange x with the id of the item, and y with the number of items required.

Ilustration


You forgot that have to take the items from the party. Do this with "Change Items" and the decrease the item by number (sry i havent a screenshot)


__________________________
You want Next Gen graphic algorithms in RPG VX? Ask the horst :P


But don't expect this in real time ;)
Go to the top of the page
 
+Quote Post
   
Valdred
post Oct 25 2010, 12:41 AM
Post #5


Level 4
Group Icon

Group: Member
Posts: 56
Type: Developer
RM Skill: Advanced




My screen was also from xp, but it should be the same.


__________________________
Go to the top of the page
 
+Quote Post
   
Shadow_Satey
post Oct 28 2010, 01:33 PM
Post #6


Level 6
Group Icon

Group: Member
Posts: 88
Type: Writer
RM Skill: Skilled




I was gonna say, I need a quest for a person so that they must turn in 3 of X, 2 of Y, and 1 of Z, and their reward will be: X.

Something like that.


__________________________
"An ocelet never lets his prey escape."
Go to the top of the page
 
+Quote Post
   
Kuro Creator
post Oct 29 2010, 04:18 AM
Post #7


Level 7
Group Icon

Group: Member
Posts: 95
Type: Event Designer
RM Skill: Masterful




QUOTE
I was gonna say, I need a quest for a person so that they must turn in 3 of X, 2 of Y, and 1 of Z, and their reward will be: X.

Something like that.


You need to do it just like this....

CODE
@> Conditional Branch : script : $game_party.item_number(x) >= 3
  @> Conditional Branch : script : $game_party.item_number(y) >= 2
    @> Conditional Branch : script : $game_party.item_number(z) >= 1
      You got your reward !!!!
    @> Else
      Jump to Label : noreward
    @> Branch End
  @> Else
    Jump to Label : noreward
  @> Branch End
@> Else
  Label : noreward
  Come back when u have them !!!
@> Branch End


This post has been edited by Kuro Creator: Oct 29 2010, 04:20 AM


__________________________



Profile Card

Team Project

Support please XD
Go to the top of the page
 
+Quote Post
   

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 19th May 2013 - 09:20 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker