How do you get a random chance event?

ActualAwesome.MAKER

Headhunter
Veteran
Joined
Jun 18, 2016
Messages
46
Reaction score
6
First Language
English
Primarily Uses
RMMV
So, I want to get a random chance event. I'm making an item called Mystery Box that you can obtain or buy from a Merchant.


The problem is there's no RANDOM CHANCE stuff. There no pre-made plugins, and without that there is no Mystery boxes.


So how?


I mean something like, 1 in three chance of sword & one in four chance of... I'm still working on this game so use your imagination.


Point is, how do I do it? Thanks for your time.


-Actual
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,713
First Language
English
Primarily Uses
RMVXA
You would use a variable switch, select random 1-4.  Then a conditional branch e.g. if 1 give a sword, if 2 give a sword, if 3 give nothing, if 4 give an Mighty Axe.


However, "How to...?" questions such as this belong in the Support forum for whichever engine you are using.  So...


I've moved this thread to RPGMaker MV. Please be sure to post your threads in the correct forum next time. Thank you.
 

ActualAwesome.MAKER

Headhunter
Veteran
Joined
Jun 18, 2016
Messages
46
Reaction score
6
First Language
English
Primarily Uses
RMMV
You would use a variable switch, select random 1-4.  Then a conditional branch e.g. if 1 give a sword, if 2 give a sword, if 3 give nothing, if 4 give an Mighty Axe.


However, "How to...?" questions such as this belong in the Support forum for whichever engine you are using.  So...


I've moved this thread to RPGMaker MV. Please be sure to post your threads in the correct forum next time. Thank you.


Thank you. Though, I don't know what you mean by a variable switch though. I may sound like a noob and that's kind of fine.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,370
Reaction score
7,678
First Language
German
Primarily Uses
RMMV
control variable command (ksjip17 mistyped) contains an option to select a random number. That is one of the basic event commands used everywhere.


If you're new to the program, I suggest you follow the link to the starting point in my signature and work through the tutorials listed there.


The event commands (especially the control variable command) are extremely powerfull, that is why you don't find plugins for simple things like a random box.
 

ActualAwesome.MAKER

Headhunter
Veteran
Joined
Jun 18, 2016
Messages
46
Reaction score
6
First Language
English
Primarily Uses
RMMV
control variable command (ksjip17 mistyped) contains an option to select a random number. That is one of the basic event commands used everywhere.


If you're new to the program, I suggest you follow the link to the starting point in my signature and work through the tutorials listed there.


The event commands (especially the control variable command) are extremely powerfull, that is why you don't find plugins for simple things like a random box.
Hey, thanks! I might actually credit you for helping making the item possible in the game... hmm.


Well thanks.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Are we allowed to post about non-RPG Maker games? And, if so, would any of you be interested in a short, proof of concept type non-euclidian puzzle game?
I should realize that error was produced by a outdated version of MZ so that's why it pop up like that
Ami
i can't wait to drink some ice after struggling with my illness in 9 days. 9 days is really bad for me,i can't focus with my shop and even can't do something with my project
How many hours have you got in mz so far?

A bit of a "sparkle" update to the lower portion of the world map. :LZSexcite:

Forum statistics

Threads
105,883
Messages
1,017,234
Members
137,608
Latest member
Arm9
Top