Main Menu
  • Welcome to The RPG Maker Resource Kit.

Is it possible?

Started by Milespleasant, January 22, 2010, 07:20:02 PM

0 Members and 1 Guest are viewing this topic.

Milespleasant

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?

Milespleasant

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?

Daemon

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.

Milespleasant

Theres no telport to map. I can switch event locations but only if they are in the same map.

Meridius

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?

Milespleasant

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.

Meridius

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.

Milespleasant

Thanks, but how about the random?

Brady



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.