Help - Search - Members - Calendar
Full Version: Random item
RPG RPG Revolution Forums > Game Engines > RPG Maker VX Discussion
Rastanatsta
I'm being a dumb blond again and I'd like some help please.

I have made an item mystery gift box. It's a an item that can only be used out of battle.

How do I make it so that when it's opened it has a:

60% of being a Hi-potion and Ether
20% of being a piece amour
15% of being an expensive gem
05% of being all the

I think / guess it's something to do with conditions or variables.

If you could do that for me I'll give you a virtual hi-5.
Thank you. smile.gif
BasharTeg6
You guessed it. Conditions and variables.

As a matter of fact I have something almost exactly like this in my game.
Here's a screenie of my event (it's a common event):



All you need to do then is to have the item execute this common event when it's consumed. Tadaa!
Rastanatsta
Thank you so much!! Hi-5 smile.gif

It looks like on your one there is an equal chance of getting each item, should I just change it so that An item is assigned to more than 1 number. smile.gif
BasharTeg6
Yeah, that would work. If you want to simplify things you can set the random variable range to 100 and use more conditional branches to check if the variable randoms between 'x' and 'y.' Then the % chance of getting the item will be whatever you set each stack to.
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.