RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
How would I...(Resolved)

0 Members and 1 Guest are viewing this topic.

***
Rep:
Level 88
How would i make an item that when used, it gives you a random item?
« Last Edit: March 30, 2007, 01:57:00 AM by Rpg_Gnome »

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
is tihs to be used in battle? or out of battle?
Watch out for: HaloOfTheSun

***
Rep:
Level 88
Out, it's like those things you pop the quarter in, and you get some cheapass piece of plastic.....

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
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.
Watch out for: HaloOfTheSun

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
are you being sarcastic mr. nouman?

'cuz I'm feeling some sarcsasm

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
Watch out for: HaloOfTheSun

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
Are you sure? Because I'm definitely sensing that you are secretly telling him to look in the items tab at this thing:



pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
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.
Watch out for: HaloOfTheSun

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
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.

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
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!
Watch out for: HaloOfTheSun

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
Well, I guess that's one benefit to writing a tutorial on the damn things - I learn stuff myself  :)

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
Solved? Add [RESOLVED] to topic title.
Watch out for: HaloOfTheSun

***
Rep:
Level 88
Well, It still wasnt explained on how to make it random......

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
...?

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.
Watch out for: HaloOfTheSun