Is randomizing scenes/events possible?

wilsonthegreen

Veteran
Veteran
Joined
Jan 3, 2019
Messages
32
Reaction score
2
First Language
English
Primarily Uses
VNM
Wanted to ask if there's a way to have a random chance of choosing between several choice branches.

Example: I wanted to have a thing where the player can walk into a location and have a random chance of finding different characters there. So, would it be possible to have something like an automatic scene transition but have a random chance between the choices instead of something like a variable deciding it?
 

Dreadshadow

Lv 38 Tech Magician
Moderator
Joined
Mar 2, 2014
Messages
3,941
Reaction score
2,562
First Language
Greek
Primarily Uses
RMMV
Event Command: Control Variables
Operator: Set
Operand value: Choose a random number between two numbers.

According to the variable, you Check with a Conditional Branch and do different things for different values. Variable decides it, but it gets a random value. Boom.
 

wilsonthegreen

Veteran
Veteran
Joined
Jan 3, 2019
Messages
32
Reaction score
2
First Language
English
Primarily Uses
VNM
Yes was talking about vnmaker specifically. Sorry if that was unclear
 

caethyril

^_^
Veteran
Joined
Feb 21, 2018
Messages
1,510
Reaction score
992
First Language
EN
Primarily Uses
RMMV
I did a little hunting around and found this over on the Steam boards~
Kentou said:
Hi, you can use Number Variable command and for Source you can select "Random" and then you can set a From-To Range to generate a random number. You can also use that random number to pick a value from a list if you use it as Index. (Get from List command)
Link to source.
 

wilsonthegreen

Veteran
Veteran
Joined
Jan 3, 2019
Messages
32
Reaction score
2
First Language
English
Primarily Uses
VNM
Sounds very helpful, I'll give it a try when I get the chance and edit this post with the results.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

What do you do when you're your family's resident computer 'expert'...but you are anything but a computer expert?
I wanna be the very best, like no one ever was. To make a game is my real test. To play it is my cause.
6.5 million beers are in need for rescue. I don't drink beer too much, but my Czech heart is sinking. It's just a pity that they priced it so high. At this price nobody is interested.
I couldn't have Taco Bell, so I grabbed a giant piece of strawberry cheesecake instead.
Guys one of our Animal Crossing Villagers (Sherb) just told us that he hoped that the villager who was having her birthday had as memorable of a birthday as his sixth birthday. Which was "the one where the clown went into our house and never came back" and that "his mother says she still sometimes hears the honking in the walls".

Forum statistics

Threads
95,578
Messages
930,214
Members
125,862
Latest member
Jean_Batailleur
Top