RPG Maker Forums

I'm working on a small fortune telling script where the player picks a card.  I made a few common events where the picture of the card will pop up on screen and give a message.  I need to make it so the card common event that is shown is random.  And I don't know how to set the code to simply pick a random common event from numbers 1-5.  

I want it to simply be:  Choose your card.  Player chooses a card.  Random Common Event for card pops up.

I can get it to pop up any card common event on its own, and even a few at once, but I need to make this random.  I'm just not doing it right.  This is a screenshot of what I've done so far.

cards1.jpg

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,049
Messages
1,018,546
Members
137,835
Latest member
yetisteven
Top