Help - Search - Members - Calendar
Full Version: [Eventing]Creating "Charges" for Items
RPG RPG Revolution Forums > Game Engines > RPG Maker VX Discussion > RPG Maker VX Tutorials
Khev
Hello y'all biggrin.gif

Did you ever want to create an Item that may be used more than one time?

You can now! And with events smile.gif

Here it is:

1. Create a new item that you wish to give charges to.
Mine is a Fresh Water Bottle.
I gave it the name Fresh Water 2/2 (Because it can be used twice)



2. Create a new Common Event, and give it a name you can associate to the item you're giving charges to.
I called mine Fresh Water Charges.



3. Go back and only add that Common Event to the first item (since mine has only 2 charges, the last one will end its use).

4. IF you want more than 2 charges, you'll have to create N-1 Common Events for N = number of charges, and add them to their corresponding items:

You create Fresh Water 5/5, add a common event that gives you Fresh Water 4/5.
4/5 has a common event that gives you 3/5, and so on.

There might be a script that does this, but this is the eventing way.
If I ever learn scripting, I'll surely make one of these right away.


PS: Don't mind my Maker's language, it's in portuguese and I do not know how to change it :/

Hope it helps! See y'all biggrin.gif
Dark Santum
i still don't understand.
Khev
err, explain what you don't understand ;/
Shanghai
Actually, as glad as I am that you made you a tutorial for this, eventing this for each item with a charge would actually inflate the size of the database unnecessarily. The other problem is that after using each item done with a common event, you get kicked back out to the map. There's a script made for VX that already reproduces this lost feature.
elfyelf
Cool, I made an item like that, its like the soup in Wind Waker, The grandma of a girl in your party refills it,
I made it that you can only use it 3 times, but I only used one item and one common event, but good job biggrin.gif
btw.
Khev
Yeah I kind of made it like link's bottle of milk in the old n64 series wink.gif
The bottle went to half when drank once, etc. So i kind of needed two items smile.gif
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.