Random Events

Started by gamemaka, Fri 01/04/2005 09:02:54

Previous topic - Next topic

gamemaka

Hello,

I am currently developing an RPG with turn based fighting. When the character finishes the fight, is there a way to have an event afterwards that randomly chooses what to give the player as a prize. Sort of a like a 1 out of 2 chance they get a potion or 2 out of 3 times they'll get money. I was currently looking at Asporia, and realized they have random events as well. If the creator is reading this, how did you do it? and How do I do it for my setup that I have explained? Thanx.
"Can I have a look at Uranus, too, Lavender?" - Ron Weasley, Harry Potter and the Goblet of Fire.

Radiant

Look up the Random() function in the manual.

gamemaka

"Can I have a look at Uranus, too, Lavender?" - Ron Weasley, Harry Potter and the Goblet of Fire.

SMF spam blocked by CleanTalk