RPG Maker VX Ace

RPG Maker VX Ace

View Stats:
How to trigger event?
Ok, this is probably going to sound like the most basic thing ever but I really need help on this one. I want a event to start when my character (as controlled by the player) gets near the event, i.e not using the action button, on the same map. How do I do that? P.S. apologies for the noobery.
< >
Showing 1-13 of 13 comments
It kind of depends on what and where the 'event' is that happens when a player gets near it. You see, the NPC King you place in the throne room is an 'event'. but it you place an invisible 'event' in the tile just through the doorway that the PC will enter then that doorway event may actually trigger the King event to do something, like turn towards the PCs, walk forward, do an animation and open a text dialogue. It appears the King event is doing everything, but the doorway trigger event is actually in control.

Can you be more specific about what you're doing? It basically falls down to figuring out where a PC will be when an event triggers, and that's where you actually put the trigger event. That's why in many cutscenes there will be a door, narrow opening, or a space between two pieces of furniture or scenery, so that the developer does not have to string 3 invisible copies of an event trigger if they don't have to.

Obviously if you have a wide open event, like the bad guy in the center of an open town square and the PC could theoretically approach from any direction, then each trigger will have to be spaced around the target area and will likely be unique in its commands, telling the NPC boss to face west if the trigger is on the west side or north if one of the north events is triggered.

As for the basics of a PC triggering an event when walking over it, set it to Player Touch, not Action button, and set below player. I think that will stop them from being able to click on it and only activate if walked over, but not 100% sure.
Ah that may be it. The event I want to take place ocurs at the bottom of my town with the player starting at the top
Remember the Region mapping? If your event don't move that much, you can trigger an event by having your character walking in certain regions instead of assigning monsters to them. You can even mosaiq it for different effects, but it would be then better to have normal triggered events then.
You can make your event starts when a player gets near it in a lot of ways.


If according to what i understood is your event is not moving.

So you can make a new event (player touch) that activates a switch ( rename it to recognize it easier )
And the NPC or whatever event at the (Bottom of your town) starts , it needs to have a condition of that certain switch being on to run.
So once the player touches that place, it will trigger that.
You can also copy the triggering ground event to wherever.
ps : if you're going to do that, dont forget to add a new event page to them to disable them.
http://www.himeworks.com/2013/04/05/custom-event-triggers/

there is also this
Read through it download the script this is really one of the best customized things on rpg maker ever.
You can add extra buttons to what triggers an event ( Action button , player touch +++++++ whatever you want )

There is a full explination and a way to add a trigger that deal with regions
so an event will start when your player enters a region (steps on it)
and it also has a way of making an event start when a player moves away from it or of it
The Linked Solution is too Performance intensive if he uses more than a few Events.
Would recoment something else, without increasing Paralell Events in Numbers if i want more Events.

EDIT:
Why not giving Events a Custom Moveroute?
You could made it Random too, but after every Step use the Script equivalent for the Eventcommand "Get Location Info" inside the Moverout with the Script Command.
You would ask which Event is 1Tile in View Direction. If 0 nothing. Else Activate Self switch
of the own event or the hited one.

It would bug if more than one Event is on the same Tile. But iam sure Scripters would find a Solution for that too.
Ok, so the PC will be on the north side of the map, the event you want triggered (bad guy, building on fire, artillery strike) is on the south side. At what point do you want the event to start working (and what will it be?)

For instance, do you want the event to start when the PC reaches the middle of town? Once the Bad guy/southern event is visible on the screen?

What is the start of the event? Earthquare, shaky screen, explosion SE? Or does a bad guy just turn and walk a bit closer to the PC, make a threat then start a fight?
Ok so I have another problem now (naturally). The event seems to have disapeared from the map. The npc just isn't there and the player touch triggers that I put down don't work either, whats up? P.S. argle bargle fargle
Uh no offence at all but it looks like you might be a beginner to the whole rpg maker thingy.
i really suggest you reading the guides there is a HUGE guide that has all the basic needs
and tutorials found on youtube.
otherwise you'll keep stumbling upon every problem while making your game and will seek help everytime which takes time
You also have a Before you begin or before you post (With a antispam in the ttle) tread with INCREDIBLE amount of VERY GOOD links to do about any and everything. I would say one lesson a day, get the Events game tutorial along with the Tutorial Town and the youTube links and you'll be over in 30 days if you make a game and do a bit each days.
I mean dont get me wrong i will help anyone who posts and whenever i can.
but its better if you learn just the basics, instead of asking everytime you get stuck ^^
google any problem you find , someone probably already had it and got it answered
Yeah... Sorry about that; I kinda re-read myself and true it seemed expeditive even if I answered before. I should open a pad aside with my very own to READ links and repost each time I see similiar questions.

But I do admit, being myself a bit green still, sometimes makers who have a direct correct precise idea of what they want to do reads to me like they are advanced and just didn't saw in-depth the chapter they are asking the question for. (Wich might be also my problem often.)

But I think when I will still be knowing all I have to know, I will still refer to the links I just typing about. I just kinda do a chapter a time and sometimes gets intertwined with things I didn't knew existed or had a name. ^^;

So don't worry about it!
< >
Showing 1-13 of 13 comments
Per page: 1530 50

Date Posted: Aug 22, 2014 @ 9:38am
Posts: 13