The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Tutorials and Eventing => Topic started by: Iressivor on July 22, 2009, 08:11:48 PM

Title: Help with scripting Move Event (Resolved)
Post by: Iressivor on July 22, 2009, 08:11:48 PM
Hey folks. I'm new to the forum and to RPG Maker 2k, and I'm having a bit of trouble scripting an early event in my game. It's somewhat complicated, but I'll try to explain it as best I can.

I'm trying to work out a cutscene in which the hero and a bunch of soldiers are attending a mission briefing. At the end of the briefing, all of the soldiers (18 total) file out of the room in pairs, leaving only the hero and an NPC.

Trouble is I can't seem to get these guys out of the room. I realize that they can't actually leave the room itself, as in teleportation; I would just like it to appear as if they do. I've gotten close to achieving this (via switches that make the sprites invisible), but because the program doesn't know any better, it still treats these soldiers as taking up space on the map, causing all the others to just bunch up helplessly in front of empty space.

I'm not sure if what I'm trying to do is possible, but that's why I wanted to ask the experts here. ;D Any suggestions, you guys?
Title: Re: Help with scripting Move Event
Post by: Sirius on July 22, 2009, 10:08:03 PM
It sounds to me like a simple Erase Event should do the trick, assuming it's a one-time scene. When each pair gets to the door, erase the event (page 3, I think).

Actually, if you turn on 9 different switches at the beginning of the event and assign them to each pair, you shouldn't have a problem with them piling up. Instead of turning switches on in the end, turn them off, and the sprites vanishhh.

Either way should work, just use whatever you prefer.
Title: Re: Help with scripting Move Event
Post by: Iressivor on July 23, 2009, 03:46:53 AM
Thanks, Sirius. Problem solved!