Masterfw

Villager
Member
Joined
Mar 20, 2018
Messages
5
Reaction score
0
First Language
English
Primarily Uses
RMVXA
I want to run an event that picks a number between two variables. I have one variable that controls the total number of instances of an event, and two more that give it some variance. Say variable 1 is set to 100. I want variable 2 to be 95%, variable 3 to be 105%, and an event or script to pick a number between variables 2 and 3. If variable 1 goes to 200, the event should pick between 190-210, etc. I've looked for other scripts but no luck.
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
41,149
Reaction score
14,206
First Language
English
Primarily Uses
RMMV
This question belongs in the support forum for the engine you are using - especially if you get a scripted solution, it will be different depending on the engine.

Are you using VX Ace or something different?
 

Masterfw

Villager
Member
Joined
Mar 20, 2018
Messages
5
Reaction score
0
First Language
English
Primarily Uses
RMVXA
I'm using MV.
 

slimmmeiske2

Little Red Riding Hood
Global Mod
Joined
Sep 6, 2012
Messages
8,116
Reaction score
5,367
First Language
Dutch
Primarily Uses
RMXP

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

 

Latest Threads

Latest Posts

Latest Profile Posts

Here's what people think game dev life is like: Oh I'll just add this feature and that feature.

A game devs' reality: add one feature and watch the rest break like domino's.
e

I90hkCf.png
The light has gone out of my life.

Forum statistics

Threads
108,830
Messages
1,039,872
Members
141,292
Latest member
Golgoleth
Top