The RPG Maker Resource Kit

RMRK RPG Maker Creation => Requests => Script Request => Topic started by: AAARGH! on August 05, 2007, 09:06:01 PM

Title: [RESOLVED] Someone help
Post by: AAARGH! on August 05, 2007, 09:06:01 PM
Um... this is most likely impossible, or very hard to make... but...
Can anyone give me, or make me a script that allows events, NPCs namely, to randomly travel through doors or such into a different map, like the teleport function does for the player. If you have played Elder Scrolls IV: Oblivion, for the PS3 at least, you should know what I mean.
I know you can probably do something like this with events, but I don't know how.
As an example...
Some random guy is walking about town. He approaches a door, opens it, and enters the building. Sounds simple if you put it that way, but I would like it to happen randomly.
Oh yeah, I have searched. And It's RPG Maker Xp I'm using, but... that's kinda obvious, that's the only version with Scripts I think.
Thanks in advance.
Title: Re: Someone help [Request]
Post by: shaz on August 06, 2007, 10:13:23 AM
If it's an NPC you want to go through a door and appear on another random map when the PC arrives there, I imagine you'd have to have the NPC event on ALL maps, then set a variable or switch randomly when he goes into the door, to flag which of the maps he'll end up on.
Title: Re: Someone help [Request]
Post by: AAARGH! on August 07, 2007, 09:34:37 PM
Edit Thanks for the help, but I've found a way to do it.
Title: Re: Someone help [Self Resolved]
Post by: modern algebra on August 10, 2007, 01:53:44 AM
In general it is polite to post the solution so that others with the same question can see it.

You don't have to, of course.  ;D