Cutscene Script Help!

I've tried everything and I'm at my wit's end--I just plain suck at scripting, evidently. What I'm trying to do is design a complex intro cutscene where:

1.) Three characters have a conversation, then walk together to a point a few tiles away as the "camera" follows them
2.) Upon reaching the destination, a portal opens (a threefold animation thing: first, an "intro" animation that leads into a separate animation that loops until step 6)
3.) The characters react with conversation to the portal as it continues to run
4.) One character is drawn into the portal (represented by backwards movement followed by turning transparent)
5.) The other two characters react with conversation to step 4
6.) The portal closes (the loop stops and the final animation--the portal closing--plays).
7.) The scene then changes to a different map.

Is this even possible to do? No matter what I do, I can't seem to make it work. If it's not too much to ask, a super-duper-simplified-for-dummies explanation on what can be done would help immensely.
Couple things: It is technically called eventing, scripting is for the programming language in the engine. Just pointing it out else you may get the wrong people trying to assist.

As for what you do, put ALL commands in one event, set to autorun. Do not spread the event out for any reason whatsoever. From there, it should be very doable. Start with the conversation, then set the move routes of all three characters once the text is done (just set the last one to wait to completion, and the others not to wait to completion). Provided one of them is the player the camera will move with them, if not also set move route on the player as well.

Once the move route is done, then put the portal opening event. I'm not sure how you are doing this (sprite? animation?) but have the same cutscene event show this. Once it is done (you may need a wait command to make it last long enough), move onto step 3.

Try getting that much working first before doing the rest.
Is something like this what you're after?



If so, here are screenshots of what I did. Each spoiler here will have detailed instructions on each piece of the eventing, as well.

Spoiler: Portal sprite
UT2lT1N.png


This sprite is a combination of the gate/door sprite and an edit of the Dark One animation (done in PAINT.net). It simply takes 4 frames of the spinning animation and positions them in the gate's down, left, right, and up directions. This will be used for the looping animation of the portal.

Spoiler: Portal event
On page 1, select whatever you want the portal to look like when it's not active (if there isn't a graphic, then just select nothing). Other than that, it doesn't really need anything checked - though you may need to tick the "through" box. Events that are set to the same priority will not be able to move through each other without having "through" checked, so if you want a character to move "into" the portal, one or the other will need have "through" set, either here or as part of a move event.

3217Z8a.png


Page 2 will be the animating portal. What we'll do is just set a custom move route under the "autonomous movement" section, then change its frequency to be "highest" (which means no delays between steps). We'll have it turn left, right, up, then back down in a loop in order to "progress" the animation.

We only want this playing when the portal is supposed to be active, however, so we'll set its state as requiring a switch to be on. In this example, Switch 001: PortalActive.

vyBdn2o.png


Here's what the custom move route will look like for page 2. Note the "repeat action" box being checked.

35Y0K9b.png

Spoiler: Controller event
This is the event that will contain all the logic for our various sprites.

Note that you can have a number of actions happen simultaneously by unchecking the "wait for completion" box. You can see, for example, that our move routes for Player and Dude2 do not have "(Wait)" after them, while the move route for Dude3 does. This means that Player, Dude2, and Dude3 will all complete their moves simultaneously, but no more eventing will happen until Dude3 has finished his move route.

Once the portal opening animation has played, we switch PortalActive on, which will kick our portal sprite event over to its looping custom move route.

In order to get a sprite to move backwards, we just turn on direction fix - if we want it to look like he's being pulled or sucked in, we can also turn off the walking animation to give a "sliding" sort of look.

iCWkGeA.png


Again, here we make use of unticking the "wait for completion" box to have multiple things happen at once. We can make the conversation progress automatically, as well, by using special characters in the dialogue box. \| means "wait 1 second," while \. means "wait 0.5 seconds," and \^ means "automatically close the dialogue window." So we can say \|\.\^ to mean "Wait 1.5 seconds, then automatically close the dialogue window."

Once we're done, we use the portal closing animation and turn the switch off to reset our portal sprite back to its non-animating page. Then we just transfer the player and turn self switch A on to ensure our event will not go back to the beginning and autorun again.

iJaZkBt.png


And on page 2, we just set a condition of self switch A being on and ensure there are no events that need to process.

F4gxYRA.png
Is something like this what you're after?

That is PRECISELY what I'm trying to do. Heck, your animation is miles better than what I was trying to accomplish (except that in my scene, the portal appears out of nowhere, so that gate thing won't work for me--though, if it's okay with you, I could probably use GIMP to edit out the gate part). Thanks a bunch!
Feel free to use it and edit it as you want - it's just an edit using the RTP graphics. I've updated my tutorial post to go into more detail about each screenshot, so if you have questions about anything, let me know.
How do you use the whole portal as the event graphic? It only lets me use part of it.

EDIT: Nevermind, I figured it out.
Well, I figured everything out. Zev (can I call you Zev?}, you are a lifesaver. If you ever need music for a game you make, I'd be happy to put my skills at arranging and orchestrating to use for you. For free. 🙂

Original thread: https://forums.rpgmakerweb.com/threads/cutscene-script-help.79294/