Getting Events to Activate at Different Times

I'm using RPG Maker VX Ace. I'm trying to get a NPC to get upset when you step on his macaroni and I got that going okay. But I want him to say something else every time after do you it the first time. I don't know anything about programming and RPG Maker VX Ace is very new to me too. I've only been using it for 2 days, so please be patient if I don't understand. I can't seem to get him to say anything different each time I activate the event.

Here's what I have:

I want him to say, "Get off my macaroni already!" every time you do it after the first time.

[IMG]http://i806.photobucket.com/albums/yy344/fleetingmischief/eventpreview_zps1a006bb9.png[/IMG]

-------------

In the same vain of events in that room I need help on is that I'm trying to make it so that you can knock over one of his wine glasses. I set the tile so that the player can step on it. But after stepping on it a second time, I want the player to knock it over. On top of the single wine bottle tile, I placed an event tile with the image of the wine that was knocked over. Here's the other things I tried to set it up. Just like the first issue, I don't understand how to activate it like I'm intending to.

[IMG]http://i806.photobucket.com/albums/yy344/fleetingmischief/eventpreview2_zps6b5ccc2d.png[/IMG]

Any help is appreciated! 
you can use self-switches and event pages, or variables + conditional branches...


try to find Andar's tutorials for beginners and read that first...
I've been trying to follow the tutorial but I don't know what I'm doing wrong.
You have set your variable so that as it increases you hope that the dialogue will change.  However, nowhere do you set an increase to the switch, so it always stays the same.

What you would have to do is at the end of the first dialogue increase your variable by adding one to it.

But, to be honest, I think you're going about this in far too laborious a way.  And if you do this method every time you want dialogue to change you are going to end up with hundreds of switches.  What I would do is:

Dialogue One: text as you want. Final command Self switch A ON

New page conditioned by Self Switch A (it's on the left side).  New dialogue.  If you want yet another development then Self Switch B ON

Third page conditioned by Self Switch B. New dialogue.

Don't forget to put your graphic in on each page.
You don't increment the variable anywhere.


And if you HAVE a variable as a condition of the page (above the event's graphic), you don't have to then go and add in a conditional branch to check it. The page won't even be active if the variable isn't >= 2, so by the time that second page is active, the conditional branch will evaluate to true.
I've been trying to follow the tutorial but I don't know what I'm doing wrong.
You can't learn RM in two days - even the basic official tutorials are long enough that if you work through them (reading is not enough) you'll probably need three or four days for that (depending on how many hours per day), and those are only the very basics.
What your current problem is - if you want an event to do something different at different times, then you better make one event page for every different reaction. Do not try to combine that on a single page as you've done - that is possible (and later you'll have to do that for more complex events anyway), but it's the more difficult approach where you need to check your logic more carefull.


Second problem (especially in the second event) is that you didn't fully understand the difference between conditions and conditional branches.


The conditions are there to choose the active page in case of several pages - if you have only one page they choose whether that event is displayed on the map or not. And in all cases a conditional branch to the same thing as the condition of the page it's on is absolutely useless - it cannot run if the condition isn't true, and therefore will always be in the true branch, impossible to get false (and therefore nothing but a waste of space and processing power on that event page).


I really suggest that you take one or two weeks off your game project to learn the basics by experimenting with the tutorials - follow the link in my signature, that was written to get you into RPGM as fast as possible.


If you have questions to specific points in the tutorials, just ask in the forum - do not try to skip them, as shortcuts in the beginning usually result in unplayable game projects.
@kajp17 - Okay, I'll change the dialog to be more efficient. As for increasing the variable, do I use the control variables window?

@ Shaz - How do I increment the variables then? Do I used the control variables window and set the operation to add after the dialog?

@Andar - I never said that I'll learn RM in a few days, or weeks, or months, I just came with a question in the process of learning it. Okay, I should make different pages. I'll do that. As kajp17 said, would you also suggest putting the dialog on separate pages?
@Andar - I never said that I'll learn RM in a few days, or weeks, or months,
You did say that you have problems with one of the tutorials, but your examples aren't part of any tutorial - so you tried to move beyond that tutorial instead of asking what you didn't understand there.
That is usually moving too fast - the basic tutorials cover nothing but the basics, and trying to move on without understanding them is always a problem, you should link us to the tutorial you've problems with and ask questions before trying to go to your own game making.

@ Shaz - How do I increment the variables then? Do I used the control variables window and set the operation to add after the dialog?
yes, you do.
Variables and Switches are the most important part of the engine, and you cannot make even the simplest quests or conversations (like the one you tried to do) without understanding how to handle them.


One of the links in my "starting point" topic (see signature) is the link to the variables guide. That is an RM-Game designed to teach you how to use variables, and allows you to check the pages in the editor itself.


You should not try to make your own game before you have really understood what variables are, and if you don't have that knowledge yet then play that game to the end until you know what variables are.

Okay, I should make different pages. I'll do that. As kajp17 said, would you also suggest putting the dialog on separate pages?
That is the reason for the different pages - I wrote that text before ksjp17 posted.
@Andar, I've been following your tutorials for the entire project that I am working on. (I even put the "# of times asked" in the snapshot from part 9 of the tutorial.) When it got to part 9 with loops, and I was trying to transfer the idea onto my own project, and not a "dream project" mind you. 😉 I have a hard time realizing things sometimes, but I realized I wasn't implementing page 3 of the tutorial, and when I did try to put it in, I was putting it in the wrong place.

@Everyone - Thanks so much guys. I got the first one to work.

EDIT

I'll mess around with the wine one a bit. I don't think I fully comprehend how to shift the first one towards the wine issue just yet. Right now what it is doing is that now it disappears when I walk over it. I'll update once I get too frustrated to figure it out on my own.
I'll mess around with the wine one a bit. I don't think I fully comprehend how to shift the first one towards the wine issue just yet. Right now what it is doing is that now it disappears when I walk over it. I'll update once I get too frustrated to figure it out on my own.
So with the wine, If you want it to look like it fell onto another tile then you place one event where the wine bottle starts and event it like shown in attachment one. You can name the switch whatever you want. Once you have the first page make a second page in this event for when self switch A is flipped, make this a blank graphic. This part makes the first intact bottle disappear from view. Then on the tile the wine spills onto to event it as show in attachment 2. Then do something similar on the second page of this event, self switch A is on but leave the graphic so the wine spill stays there but it now has no dialog and such. Remember to change the trigger at the bottom to what you want. If you want the dialog to autorun after you spill the wine then put it as parallel process. PM me if you have any more troubles, glad to help!

Capture.PNG

Capture2.PNG

Original thread: https://forums.rpgmakerweb.com/threads/getting-events-to-activate-at-different-times.22688/