RPG Game Maker MV - Treasure Chest Random Gold amount/Item

Hi! as the title says, how can I make like this? Thanks!
This is basic eventing - you can use a quick event for the basic structure, and then replace the event commands for the content with one that uses control variable to get a random number and gives different results with conditional branches.


If you have trouble with events like that, I suggest you follow the link to the starting point in my signature and work through the event tutorials given there, especially the variables guide.
This is basic eventing - you can use a quick event for the basic structure, and then replace the event commands for the content with one that uses control variable to get a random number and gives different results with conditional branches.


If you have trouble with events like that, I suggest you follow the link to the starting point in my signature and work through the event tutorials given there, especially the variables guide.



Thanks @Andar, Can I have another question bro? How can I remove the Logo of RPG Maker when I run the game? I'm using RPG Maker MV.
The logo comes from a plugin. You just turn the plugin off.
@Jedzkie...


The advice concerning the Tutorials is excellent, and recommended. To answer your question directly, though, here's the Commands required once you've created a Quick Treasure Event...

Spoiler
◆Play SE:Chest1 (90, 100, 0)
◆Set Movement Route:This Event (Wait)
:                  :◇Direction Fix OFF
:                  :◇Turn Left
:                  :◇Wait:3 frames
:                  :◇Turn Right
:                  :◇Wait:3 frames
◆Control Self Switch:A = ON
◆Control Variables:#0013 Rand = Random 5..20
◆Change Gold:+ {Rand}
◆Text:None, Window, Bottom
:    :\v[13] \G were found!



You'd choose a Variable of your own; mine was Variable 13; your's will be different. Note the use of a reference to the Variable in the Text Box; the tag '\v[x] is used to display the Random amount, where 'x' is the Variable n° ('13' in my case...).


As to the Logo appearing: in the Editor Menu you'll find 'Tools/Plugin Manager...'. That's where you'll see the Plug-in listed, and you can turn it off (double-click on its entry in the list...).


Hope this helps.
Thank you so much @Dad3353!

Original thread: https://forums.rpgmakerweb.com/threads/rpg-game-maker-mv-treasure-chest-random-gold-amount-item.70288/