I need help with event

I want to make a one time event like cutscene. I will try to explain what I want to do.

now I want to make an item (eat or drink) first of all, my character will faint after using that item, the screen will go black and the character will open his eyes in his own house in a sleeping position and in his own bed. Afterwards, a dialogue between the character and his mother such as "You shouldn't eat everything you find" should take place. mother away from the area. Let the character get up from his bed and continue on his way.
How can I do this, I would be very happy if you could help me. Thankss

(If it is possible "step 1- 2- ..." It will be much more understandable for me if you write it as)
We need a little more context.

Is this an event that should be playing after each time this sort of thing happens? (Player eats/drinks an item that causes an instant KO).
If this is the case, just link your item that causes the cutscene to a Common Event in your Effects box for that item, and Autorun your event for your Common Event to Transfer Player to the new maps you speak of.


If this is a one-time sort of event that can happen, then just event the item as such similarly to above, but make sure it doesn't happen again using a Conditional Branch.
I suggest you take some time to open up the page of event commands and read through the 3 tabs.

While you're reading through, if you're not sure you understand what something does, check it in the manual. There are also YouTube videos that walk you through the list if that's easier for you than reading.

Everything you describe is a pretty basic series of event commands such as transfer player, show text, and move route.

If you still can't get it to look exactly the way you want, post screenshots of what you made for the event and describe what you need to be different. This is a really straightforward event for you to ask someone to make for you step-by-step.
Step 1 : create an event with image food ( make a food character or choose from tileset)
Step 2 : make the event trigger : action button
Step 3 : show text > " do u want to eat this ? > show choices yes and no
step 4 : under when yes > fade out screen > transfer player to your bed
1.JPG

step 5 : in your map with bed create an event with trigger auto run and image mom
step 6 : make sure event is alongside bed
step 7 :Fade in screen > show text : "You shouldn't eat everything you find"
step 8 : on top of event editor click new event page
srep 9 : after that conditions> self switch> A
step 10 : go to previous event page by clicking 1 above conditions
step 11 : after the show text> control > selfwitch > a > on {1 in event tab}
2.JPG
3.JPG
Step 1 : create an event with image food ( make a food character or choose from tileset)
Step 2 : make the event trigger : action button
Step 3 : show text > " do u want to eat this ? > show choices yes and no
step 4 : under when yes > fade out screen > transfer player to your bed View attachment 258893
step 5 : in your map with bed create an event with trigger auto run and image mom
step 6 : make sure event is alongside bed
step 7 :Fade in screen > show text : "You shouldn't eat everything you find"
step 8 : on top of event editor click new event page
srep 9 : after that conditions> self switch> A
step 10 : go to previous event page by clicking 1 above conditions
step 11 : after the show text> control > selfwitch > a > on {1 in event tab}View attachment 258894View attachment 258895
I understand body you are life saver 🙂 it was very useful just to see the logic of it and what exactly where and how it is used. 🙂

ATT_Turan actually I had the problem more when it teleported to a different area. For example, I couldn't continue the event I created in map 1 when I teleported to map 2.​

I wonder if I am using the trigger button wrong and because I did not know exactly where to use some commands, I was able to express myself in this way. Even though I searched for a youtube video about it for hours, I couldn't find a tutorial in more than one map. Thanks to the screenshots, I understood much better. 🙂

I had the problem more when it teleported to a different area. For example, I couldn't continue the event I created in map 1 when I teleported to map 2.​

Ah. Correct, you can't use an event on one map to do anything on another map.
Ah. Correct, you can't use an event on one map to do anything on another map.
Aren't there plugins like Yanfly Self Switches that can do that?
Aren't there plugins like Yanfly Self Switches that can do that?
I'm not sure what you mean. When you're entering commands into a map event, you physically can't refer to events on a different map - the drop-down menus for move routes and other commands doesn't show them.

I don't see how Yanfly's Self Switches and Variables would help get around that limitation in the editor, or why it would be worth exerting any amount of effort to do so. The accepted technique is to just transfer to the other map and set a condition for an autorun on the new map to pick up the cutscene there.
I'm not sure what you mean. When you're entering commands into a map event, you physically can't refer to events on a different map - the drop-down menus for move routes and other commands doesn't show them.
there.
If I'm reading the documentation right you can use a plugin command in one event on one map to toggle a switch of an event on another map

Plugin Commands:
SelfSwitch Map x, Event y, Switch z to true

So basically you could start an event on the current map and use that plugin command to switch on an event on the next map, then it would run its commands when you entered that second map
If I'm reading the documentation right you can use a plugin command in one event on one map to toggle a switch of an event on another map
You don't need a plugin to do that, there's a regular script call that controls all self switches - they aren't tied to maps. They're just stored in a game-wide list.

So basically you could start an event on the current map and use that plugin command to switch on an event on the next map, then it would run its commands when you entered that second map
Not if you are continuing to do things in your original event. The game interpreter won't process events on a new map load until it's finished with the existing event on the old map.
Ok, I didn't know it was a function built into the editor, but you could use that to have a planned sequence of events pass off from one event to another between maps. It's a baton pass.
you could use that to have a planned sequence of events pass off from one event to another between maps. It's a baton pass.
Yes, that's exactly what one is supposed to do. Use the first event to set a switch or variable that will cause an autorun event on the transferred-to map to pick up the cutscene.

This might be a useful reference for anyone else reading through the thread:

Original thread: https://forums.rpgmakerweb.com/threads/i-need-help-with-event.156649/