Using a variable for cutscene

Using a variable, I want the protagonist to walk onto an event which will make an NPC move. I do not want to use a switch because they can only be used once.

Please tell me what I need to do to make this work properly.

This is my code:
upload_2017-6-12_16-20-33.png


upload_2017-6-12_16-23-31.png


upload_2017-6-12_16-25-44.png


upload_2017-6-12_16-34-29.png
Apologies, not at a computer with RPGMaker on it right now, so bear with me. I'm not 100% sure what you are going for, but I use what I think is a similar system.

Before any of this, I'd recommend reading/watching some tutorials on basic eventing. Andar has some good ones in his signature.
Here's a quick one I found on youtube:

Here's a quick answer though:

First, make all cutscene choreography driven by a single autorun event (store it on a non-accessible part of the map, I use the top left corner when I can). Essentially, you'll have an autorun event in the corner of the map, then you'll have the "player" event at the starting location. You won't need an event for the destination.

Second, you don't need the conditional within the event page if you are checking the condition on the left side. The autorun will have the check as you've designed in your second and third screenshots.

Third, after you execute your cutscene, increment your variable... Make sure your autorun control event has a page for each value of your variable that is pertinent. This will execute your cutscene then update the value and not execute again.

The "player" event will have a page that makes it not show up at all, and the second page would show the player when the story variable increments (as shown in your 3rd screenshot).
I do not want to make this cutscene autorun. I want the player to step onto the clicked tile. This will cause the NPC to move. After the movement ends, I want to increase the variable by one so that this cutscene will not happen again.

Do I need to set the variable in the current event code or in a previous event?

I apologize for the confusion. I'm new to variables, and I really want to use them.
Below characters/player touch works for stepping on it. However, have you used that variable before anywhere in the story? If not, then you don't need any of that set the variable to 1 and if variable >= 1 etc stuff. Instead, just run the scene as normal, then at the end set the variable to 1. Then on page 2, set it to if variable >= 1, and make it an empty event set to action button.

If you do that, the scene will run once, and the only way to run it again is if you set the variable back to anything < 1.
I'm using a system similar to BrandedTales on my project. Not the same, but similar. There is a particular scene in which one of the three chars in the group has to explain a bunch of things, and moves around a room, while the main char and a secondary char follow the explanation listening, talking between themselves and walking around with the one talking. I set the main event for the speaker, and during that event I set a variable for the secondary char (movechar). Now, that variable is changed acording at my needs for the scene, and I set that secondary char as an event that runs parallel to the other.

Now, in that secondary char event, the code is something like this:
If movechar = 1
_____char looks up
endif
if movechar = 2
_____char looks right
endif
if movechar = 3
_____char looks left
if movechar = 4
_____char looks down
endif
if movechar = 5
_____char moves 1 space forward
endif

So, during the main event (the char talking), I go intertwining code like "movechar = N", and then that secondary chars does what I tell it. 🙂

Hope it helps. 🙂

Original thread: https://forums.rpgmakerweb.com/threads/using-a-variable-for-cutscene.79873/