Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Random Probabiltiy?

M01sam

Member

In Rpg Maker VX how do you set Random Probabilities.
What I mean by that is how can I make an event do random things.
Like one time it might attack then the next time it might move.
Do you know how to do that?
If you still don't understand I can fix up this post.
 
Your description is really vague, but I'll try to help.

In case you want to try it yourself, I've put it in spoilers.
In the "Control Variables" event, you can set a variable to be a random number.

For example, you can set it so it is a random number between, say, 1 and 10.

Then you must use Conditional Branches to see what happens depending on it's number. For example:

If "Variable A" is 1, Do Action 1.

If "Variable A" is 2, Do Action 2.

If "Variable A" is Greater than or Equal to 3, do Action 3.

You can make it whatever you want.

If you're still confused, let me know and I'll try to help.
 

M01sam

Member

Dadevster":3vt5stls said:
Your description is really vague, but I'll try to help.

In case you want to try it yourself, I've put it in spoilers.
In the "Control Variables" event, you can set a variable to be a random number.

For example, you can set it so it is a random number between, say, 1 and 10.

Then you must use Conditional Branches to see what happens depending on it's number. For example:

If "Variable A" is 1, Do Action 1.

If "Variable A" is 2, Do Action 2.

If "Variable A" is Greater than or Equal to 3, do Action 3.

You can make it whatever you want.

If you're still confused, let me know and I'll try to help.

That info help out alot i'm still a bit confused
like how do you make it list the commands?
 
Commands? Do you mean the Conditional Branches? When you click "Condition Branch", there are a whole slew of options available. You can make it check the value of a variable, check if a switch is on or off, check how much gold you have...

It shouldn't be that hard to figure out.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top