The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Tutorials and Eventing => Topic started by: Milespleasant on January 22, 2010, 07:20:02 PM

Title: Is it possible?
Post by: Milespleasant on January 22, 2010, 07:20:02 PM
Is it possible to random things? Like if I was picking up a number, can I random it so most common is say 9 and the hardest one to get is 11?
Title: Re: Is it possible?
Post by: Milespleasant on January 22, 2010, 08:09:42 PM
If anyone knows, how do you change a event from one map to another map? Like when you press action key on one character, it moves to a different map?
Title: Re: Is it possible?
Post by: Daemon on January 22, 2010, 10:43:12 PM
Well, for short answers. You can randomize something with varibles, but to make one arder than the other, you'll need a larger range than the range of numbers (don't know how to explain it...) And to go to a different map, in the event, you make it activate by pressing the action key, and then you tell it to 'Teleport to Map' or something like that.

These are both simple things, so maybe you should look for a begginer tutorial. Sorry if I wasn't any help.
Title: Re: Is it possible?
Post by: Milespleasant on January 23, 2010, 08:05:32 PM
Theres no telport to map. I can switch event locations but only if they are in the same map.
Title: Re: Is it possible?
Post by: Meridius on January 23, 2010, 08:16:07 PM
Well there is one way you could simulate the process you're trying to achieve for getting a character to move between maps.. Problem is that I got the process in my head and I can't get it into words  :P I'll try to script it out and I'll let you know how it turns out... Before I do this, can you give me specific details of what you want it to do?
Title: Re: Is it possible?
Post by: Milespleasant on January 23, 2010, 08:20:21 PM
Lets say you go to a pet shop. You buy a cat, and it says your cat has been transported to your house, your house is a map, but I can't get the cat to transport into a different map. Also, if you can tell me how to random things like you can random getting a big fish or small fish, etc.
Title: Re: Is it possible?
Post by: Meridius on January 23, 2010, 10:34:59 PM
Ok the cat part is easier than I thought.. All you gotta do is create an event in the house; have the first page with NO sprite, then after you buy the cat, turn on a switch. ex: (0001: Cat in Possession). then in the house, have page two of that event be the sprite of the cat and then just set it to move around at random or however you please.
Title: Re: Is it possible?
Post by: Milespleasant on January 28, 2010, 08:39:40 PM
Thanks, but how about the random?
Title: Re: Is it possible?
Post by: Brady on February 06, 2010, 03:38:32 PM
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi203.photobucket.com%2Falbums%2Faa4%2FDarkbrady%2FRPGM%2Frandompet.jpg&hash=41dda2855b8140da0d430edbfb3c990ee66b1b3f)

Set a variable to random between 1 and 11 (using your given numbers) and you can set conditional branches to determine what numbers give what pet.  In that example, I've given 1~5 for a small, 6~9 for a regular and 10 and 11 for a large pet.