I need Event Help~!

I'm new to RPG Maker. 🙂 Currently I am having major issues with this one event.

I have three connecting parts.

-Store Owner

-Husband

-Daughter

What I want to happen:

You find the flower the wife is requesting from the husband, which gets him out of the dog house.

You exchange it.

Then the husband disappears by walking into the house.

The husband is now standing next to his wife inside the store.

The text on the store owner and daughter is changed.

What is happening:

I tell him I have it when I really don't

It runs then crashes at the front door of the house.

I have yet to set up items, gold, hp, mp etc. Is that what's crashing it? 

How do I include an if then statement to be certain the character has the item to stop this from happening? Is my code right otherwise?

Could use some input here.

photo 1.JPG

photo 2.JPG

photo 3.JPG

photo 4.JPG

photo 5.JPG
When [i have one now]

 if flower is in inventory {

- flower

move route

etc.

}

Then you'll have to use a "husband has flower" switch or something to make the husband disappear, and appear in the house, or whatever. Your pics are hard to see -- windows 7 has a "snipping tool" that makes it really easy to take screenshots.
Please use the windows function ([prtscrm] on keyboard and paste into paint) instead of a camera to make screenshots.


You need to use variables and switches to check for multi-stage-quests. I suggest working with some of the tutorials to learn how to do that.


If you follow the link in my signature, look for the link to the "variables guide" there - that is a game-tutorial where you can learn how to make such quests.
How would I do it with the command window?

I wouldn't know how to code it properly in this.

Allow me to repost them.

The last picture is where it freezes. 🙁

Thanks for the Snipping Tool tip.

Capture.PNG

Capture2.PNG

Capture5.PNG

Capture3.PNG

Capture4.PNG
When I searched around on this topic they all mentioned to turn on a switch then to leave an empty page, which I did, but it's end results were it freezing and not disappearing.

I assume I need to do that backwards or a variable of some sort to have a character appear when the other disappears.
You should get a text wrapping script, it would make those cut off text lines show nicely.
That sounds helpful as well. Is there a tutorial on that?
When I searched around on this topic they all mentioned to turn on a switch then to leave an empty page, which I did, but it's end results were it freezing and not disappearing.

I assume I need to do that backwards or a variable of some sort to have a character appear when the other disappears.
It does appear that your event should work. What do you mean it's freezing? What happens? The game locks up? You have it set to "wait for completion" -- are you sure it's not getting stuck on an impassable tile? Try turning "through" on (in the move route), and see what happens.

As for the second part, you'll just have the first page of the new event set to "switch 0001 = on" so the character appears in the house after the first one disappears.
It completely locks up. I can't do anything.

Hmm. Oh that's possible.

You are correct. 😀 I thought the character would be able to go on top of the door then vanish but since its an impassable tile it doesn't work.

Hahaha ugh so simple *face palm*. Thank you so much.

Ah I haven't figured out the when statement, and how to access inventory. Do you know a good youtube video, tutorial, or the easiest way to do it?

Preferably without coding...
It's just conditional branch - page 4, "item ___ is in inventory." Then you can do:

else

text: "you don't have it!"

or whatever.
Awesome. Thank you~!
When I searched around on this topic they all mentioned to turn on a switch then to leave an empty page, which I did,
No, you did not leave it empty - you changed the trigger of that page to "Autorun", that's why it's freezing.
If you had let that page unchanged (Trigger = action button) it would have worked as intended.


The entire reason for switching to another page is to turn off the autorun - not to change it to a different autorun...
I noticed that when you turn the self switch A on for event 5, it does nothing, as the second page doesn't have the condition of the self switch to be on. I don't know if that will freeze it but if you are turning a switch on its probably better if I actually does something lol

Just my opinion tho 😀 aha hope it helps
It seems to work now. 😀 I worked once I didn't have him touch the door. I bet it froze trying to move the event to another map and the program, not allowing it to happen.

While you guys are still here is there anyway to make the holes in the ground possible to stand on. Not the tool on page A in the dungeon, but on page B.

In the picture, it's the one on the left. I want the character to be able to fall through, which would work with the transport if the Character could step on it. In the Database I only see the ability to change if you can step on page A. Any ideas?

Capture10.PNG
I think you'll have to change the tile passability -- or you could set those graphics on the event itself, rather than the map.
If its an event set the event to " below the player " and activate on "player touch" this should alow the character to walk on it and then the event will activate so if u want them to fall through you could maybe set a move route that makes the character transparent really fast followed bye the teleport event and a very fast change back to visible. then say turn a switch on called "Fall" ,

Then on the new map the character is falling too, set a parallel process that is only active when the switch "Fall" is on, then using a move route on the character that moves the player down with the option of "THROUGH" set to on, and turn it of at the end of the move route.

IF the player walks on the hole they will teleport to the roof of the next map. So the character would at the top of a wall, with the move route set to move down the height of the wall with through on.  they will move through the wall like a drop, maybe add sound effect fall. then through off when it ends

then turn the switch of "fall" off so that the even wont run if you don't fall from the hole. 
Phew. It's starting to come together. Thank you again.
No problem if u need anymore help just let us know mate 😀 I may be new to this but I have quite a bit of time to figure stuff out at the moment .

so there if u need help 😀  
Twixster, please avoid double posting, as it is against the forum rules. You can review our forum rules here. Thank you.


A lot of your problems come from misunderstanding the event commands and event triggers. Have you read any beginner tutorials? Do you actually understand switches and event pages? And not just blindly following the tutorial to a T?


Your first problem had nothing to do with 'trying to move the event to another map and the program' (this is not possible), and everything to do with switching to an event page that had its trigger set to autorun. That means it auto ... runs. If there's nothing in it, it will simply 'freeze' the game. Andar was right in saying you needed to leave it to action button and then everything would work.


Anyways your original problem is solved, so please create another thread for another question. Closed.

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