The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Tutorials and Eventing => Topic started by: JFloyd on March 29, 2007, 01:35:59 AM

Title: How would I...(Resolved)
Post by: JFloyd on March 29, 2007, 01:35:59 AM
How would i make an item that when used, it gives you a random item?
Title: Re: How would I...
Post by: :) on March 29, 2007, 01:37:39 AM
is tihs to be used in battle? or out of battle?
Title: Re: How would I...
Post by: JFloyd on March 29, 2007, 02:18:53 AM
Out, it's like those things you pop the quarter in, and you get some cheapass piece of plastic.....
Title: Re: How would I...
Post by: :) on March 29, 2007, 02:39:20 AM
geeze, I've always wondered how to make a common event happen when an item is used...if I knew that then this would be a simple variable solution

then all we had ot do was:

Set varible: Random 0-(how many random items you can get)
then condiotnal branch
variable =0
gain item potion


just alot of thouse.
Title: Re: How would I...
Post by: modern algebra on March 29, 2007, 03:28:11 AM
are you being sarcastic mr. nouman?

'cuz I'm feeling some sarcsasm
Title: Re: How would I...
Post by: :) on March 29, 2007, 03:28:49 AM
Quote from: modern algebra on March 29, 2007, 03:28:11 AM
are you being sarcastic mr. nouman?


nope.  :)
Title: Re: How would I...
Post by: modern algebra on March 29, 2007, 03:35:08 AM
Are you sure? Because I'm definitely sensing that you are secretly telling him to look in the items tab at this thing:

(https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg134.imageshack.us%2Fimg134%2F5276%2Fhkfko4.png&hash=ce98ce244ef9fa57b66a01f467d34ec70f9295bd)
Title: Re: How would I...
Post by: :) on March 29, 2007, 03:37:18 AM
but that dosen't trigger on use does it?
I tried setting that up and w/o using the varible was already randomly choosen and I had all the possible items.
Title: Re: How would I...
Post by: modern algebra on March 29, 2007, 03:48:37 AM
It does, and it ought to work as long as you have the conditions and stuff right It shouldn't be paralell or autostart though. That should be blank. Demo.
Title: Re: How would I...
Post by: :) on March 29, 2007, 04:12:54 AM
I learned a new thing today! thanks lots Modern. I was placing another trigger for it since I had not known that the ITEM would actaully be the trigger itself. xD thanks!
Title: Re: How would I...
Post by: modern algebra on March 29, 2007, 04:29:23 AM
Well, I guess that's one benefit to writing a tutorial on the damn things - I learn stuff myself  :)
Title: Re: How would I...
Post by: :) on March 29, 2007, 01:27:05 PM
Solved? Add [RESOLVED] to topic title.
Title: Re: How would I...
Post by: JFloyd on March 30, 2007, 12:23:28 AM
Well, It still wasnt explained on how to make it random......
Title: Re: How would I...
Post by: :) on March 30, 2007, 12:27:51 AM
...?

yes it was..

download his attachment. just need to make the varible choose random number, then conditional branch with variable = every number possible that the varible will become after random number is choosen, then each will give an item.