Random Event Variable Help?

Jealovy

Warper
Member
Joined
Mar 30, 2017
Messages
1
Reaction score
0
First Language
English
Primarily Uses
Other
So I know this has been posted before but the things I've found are not quite what I'm looking for.
So basically I'm making an event where you steal from a chest (I got that part down) and if you select yes, you have a 50/50 chance of getting caught by the manager. If you get caught, you go to jail where you have to convince the guard or something.
PS: I'm a noob so please make it simple/step by step
Thanks! ^_^
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,674
First Language
German
Primarily Uses
RMMV
basically you use a control variable command to get a random number, let's say you use it to get a random number between 1 and 100.
Then you use a conditional branch to check which number you now have inside that variable. If that number is 50 or less, do the one thing - if not do the else branch.

If you have problems with variables or events on that level, I strongly suggest you follow the link to the starting point in my signature and work through some of the tutorials listed there, at minimum the variables guide and one or the other eventing tutorial.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,862
Messages
1,017,049
Members
137,569
Latest member
Shtelsky
Top