Jump to content
Megamimiku

rpg maker xp How do I make a trade?

Recommended Posts

Hello, I have a thing in my game where at the beginning, there's this old guy, he's sad because his friend did and you half to give him an item to make him feel better so he can give you an item that let's you get the real ending in the game. How do I do this? I would also like to know how to add multiple endings. Please help me. I use rpgmaker XP if that helps

Edited by Megamimiku

Share this post


Link to post
Share on other sites
On 4/17/2020 at 12:35 AM, Megamimiku said:

his friend did

I assume you mean died?

 

If you are not familiar with the engine, I would suggest looking up some tutorials. There are several. Not sure about here, but on rpgmakerweb forums, you can find some.

 

What you're asking for is very basic.

Check for item in inventory,

lose item,

do talking,

get item,

set event to not repeat this action.

 

  • Thanks 1

Share this post


Link to post
Share on other sites
8 hours ago, roninator2 said:

I assume you mean died?

 

If you are not familiar with the engine, I would suggest looking up some tutorials. There are several. Not sure about here, but on rpgmakerweb forums, you can find some.

 

What you're asking for is very basic.

Check for item in inventory,

lose item,

do talking,

get item,

set event to not repeat this action.

 

 

Yeah, I meant died (I'm not good at grammar) Thanks for helping me out, but where do you find those commands? I can't find them on the Event Commands page, unfortunately

Share this post


Link to post
Share on other sites

Conditional Branch is what you seek. It's under tab four. Check for item in inventory.

 

Then, when taking item, if an item (i.e. a Potion), Change Items, decrease is what you seek. If it's a weapon or armor, it's Change Weapons, or Armor respectively. For Weapons and Armor, if the weapon or armor to give is equipped and you only have one, make sure to tick the 'check if equipped' box (won't let you if set to 'increase').

After all that, go back to change item/armor/weapon for the item, and make sure that the item is increased by however many given.
Then, go to Control Self Switch and activate one of the four unused self switches. Make sure to make an event page where the self switch being active is the page condition, or else, the event will repeat.

Pro tip: One can place all the event commands in a conditional branch checking if the self switch is turned off, with an 'else' branch for when it is on.

  • Thanks 1

Share this post


Link to post
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.

×
Top ArrowTop Arrow Highlighted