Help - Search - Members - Calendar
Full Version: Cant pass with out a item in Vx and Ace
RPG RPG Revolution Forums > Scripting > Event Emporium
Kaleb Daub
How can I make an event where you have to get a certain item to progress with the story? Using ACE and VX.
Nub Cake
What you have to do is to go to the event menu, then go down to the "Flow Control" and select "Conditional Branch..." which is the one on top.

Go to page 4 where you select Item -> "Item ID/Name" in inventory
This will check if the item is in the inventory, and you can set up a switch and the text you want if you got it in inventory, but if you don't, just add the basics, "You do not have ... yet" tongue.gif

When this is done ,you need to make a event that will give you the item. If you plan to have other events happen along the way, you can have event pages which will say new things, or act differently when you have picked up the item.
As you might want to make items more later again, i'll add these details as well.

2 suggestions


Alternative 1

If you want people to react to the player picking up the item, or just basically to check if the item is in inventory, here it is:

You have to create an Variable, here i just name it "Item Received", then you take greater then or equal to -> 1.

When it's under one, they'll walk around and act normally, but when you get 1 point, they can stalk you or so on.

(Note: if it fails with one, use two)

To give the variable you created points you have to go to "Game Progression" and select "Control Variables"

On top, select your variable, on "Operation" select add and on "Operand" select "Constant" and write one.

An easier way is to just make a control switch which gets on when you pick up the item, but i just added that above in case you was to add more items or so tongue.gif

Alternative 2

if you now would add more items, make a conditional branch which requires X (3 Items), then each items will give it one point, and when all three is gathered, it allows you to deliver them.


If you want me to make a demo of this, i'd be able to do it as i got summer vocation, and didn't get any job tongue.gif

Kaleb Daub
Thanks man a demo is nice thanks for your help so this work with Vx and Ace?
Nub Cake
Yes, i used the VX demo version to find this as i've used a friends VX version when i first started using the RPG Maker engine as he didn't use it back then, not sure if he use it now either, but pretty sure it will work like this on Ace as they have a bit in common from what i can see. But i haven't taken a look at Ace yet, but im pretty sure smile.gif

And will make a demo in VX now, will probably be ready within 30 min - 1 hour i guess smile.gif

Edit:
here goes, and i was doing a lot of Variables where i added points earlier for a collector quest (helped out a friend as im not a fan of them), so you could originally just do it with the "Conditional Branch"

I also added so when all items are gathered on the second map, a new person will appear (Event with parallel process)

anyway, here you go smile.gif

Will be available as long as i have Dropbox activated, and will just have it active till you've downloaded it if not longer if anyone else wants it tongue.gif
Kaleb Daub
Thanks for the help I really appreciate it.
EDIT: It works in both of them thanks once more
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.