RMRK is retiring.
Server is paid up for the rest of 2026, but the forum may go after that. See here for more information. Please archive or save anything you would like to keep before 2027.
Main Menu
  • Welcome to The RPG Maker Resource Kit.

Randomness help

Started by Seoxultima, March 03, 2006, 12:43:05 AM

0 Members and 2 Guests are viewing this topic.

Seoxultima

ok,how do i make an event give you a random item from a set  few?like,in golden sun,the lost age when you give yallam smithy something?

ie:give a guy some iron,he radomly picks somethin and gives.

also,i need help making a mining system,what is the best form of animation i could do?and how could i make rocks give random ore?(see above)

thanks in advance
Current project: Phoenix - The Eternal Legacy
A Clan Shadow Phoenix and Unholy Alliances Production
THE TEAM:
Seoxultima -uhhh....POO!
loonygamer-title screen,gameover,etc.
formina sage -lots of stuff,mainly skill systems
blizzard-credit system,tools,and other stuffs
DeathTrooper-battle graphics
Jesse 015-quests
pkmemanyp-quests
Slayer-dialogue production

Master_of_Time

For the random item thing, go to the change item command but
instead of choosing a specific item, create a variable.
DEATH: Master of Time, your life is at it's end! Mwahahahaha!
MOT: Whatever, dude *throws crumpled piece of paper at Death and runs away*
DEATH:....?

Seoxultima

ok,could you explain a bit more detailed please?
Current project: Phoenix - The Eternal Legacy
A Clan Shadow Phoenix and Unholy Alliances Production
THE TEAM:
Seoxultima -uhhh....POO!
loonygamer-title screen,gameover,etc.
formina sage -lots of stuff,mainly skill systems
blizzard-credit system,tools,and other stuffs
DeathTrooper-battle graphics
Jesse 015-quests
pkmemanyp-quests
Slayer-dialogue production

monster-doog

Put the variable set from #1-3. Then make a seperate case for each stating that if you land on #1, you get a potion.On #2, a sword. Or what ever you want
the items to be.
RPG Heights : A brand new high... http://www.forumsvibe.com/monsterdoog/

dragonmagna

A bit more easy to understand is-
1.Make a variable
2.when you talk to the guy(give him an item), set that variable to random number between 1&3 or whatever.
3.Use a conditional branch for after that, making it so that 1 giets you a potion or whatever(just as monster doog said).
4. After that, your done.


Interested in playing these complete games and checking out more? Go to my website!

Seoxultima

ok,so:
variable of 1-3
make 3 cond. branches,one for each outcome?

EDIT:ok,thanks guys,i figured it out,but with one flaw-i made a tester that said hi-then a number(of the number picked)it worked once,but then it would only say hi,never picking a number again.i wanna make lots of random things,like for a mining system.ihow do i make it repeat the vareiable check?
Current project: Phoenix - The Eternal Legacy
A Clan Shadow Phoenix and Unholy Alliances Production
THE TEAM:
Seoxultima -uhhh....POO!
loonygamer-title screen,gameover,etc.
formina sage -lots of stuff,mainly skill systems
blizzard-credit system,tools,and other stuffs
DeathTrooper-battle graphics
Jesse 015-quests
pkmemanyp-quests
Slayer-dialogue production

Viper