Region trigger events help..

Leafthefur

M4, the virgin
Member
Joined
May 2, 2014
Messages
5
Reaction score
0
First Language
English
Primarily Uses
Im trying to make this event with regions, that when the player touches region 1 the event will trigger

This is the event that controls the regions and the one i want to trigger



And this is the event i want to trigger



This is my problem:

When i enter the map, the character (graphic) isnt in the spot it should be and when i touch a region, nothing happens..

Help please ;-;
 
Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,366
Reaction score
7,676
First Language
German
Primarily Uses
RMMV
Please change your topic title to something that tells us what you need help with, a general title like "I need help" is useless.


Your first problem is that a map event like the one you made first will only be triggered if the player touches it. Then it will check if the tile the player stands on (which is the same as the one the event is on) is of the correct region. This logic will only work if you place an identical event on every tile with that region code - which means that the check for the region code is no longer neccessary and could be omitted, but would also create a lot of lag.


If you want to trigger an event by a region, then you either need to use a script or a common event on parallel - regular map events are useless for this.


Additionally, your second event (the one you want to trigger with the region codes) also looks strange - perhaps you take a step back and explain to us what you want to happen in the game, because I think it would be easier to do a greeting message in a different way than your mixture of switches and region codes...
 

Tai_MT

Veteran
Veteran
Joined
May 1, 2013
Messages
5,472
Reaction score
4,859
First Language
English
Primarily Uses
RMMV
Wouldn't the second event there that he wants to be triggered need to match the trigger condition of the first?  The first screenshot shows that you trigger "Welc 1".  The second screenshot shows that the event can only be triggered if something or someone had already triggered "Welc 2".  I'd just change the "Welc 2" to "Welc 1" so that it triggers as you've said you want it to.

Likewise, wouldn't it be easier to put the Self Switch from the first screenshot into the "Conditional Branch" as well?  You know, to ensure that it triggers as it should?  Otherwise, if the player is not standing on the required field, it would simply trigger the "Self Switch" instead and skip the other switch.

I'm not really sure how that all works, actually...  But, the eventing you're doing looks really odd to me.
 

Leafthefur

M4, the virgin
Member
Joined
May 2, 2014
Messages
5
Reaction score
0
First Language
English
Primarily Uses
Wouldn't the second event there that he wants to be triggered need to match the trigger condition of the first?  The first screenshot shows that you trigger "Welc 1".  The second screenshot shows that the event can only be triggered if something or someone had already triggered "Welc 2".  I'd just change the "Welc 2" to "Welc 1" so that it triggers as you've said you want it to.

Likewise, wouldn't it be easier to put the Self Switch from the first screenshot into the "Conditional Branch" as well?  You know, to ensure that it triggers as it should?  Otherwise, if the player is not standing on the required field, it would simply trigger the "Self Switch" instead and skip the other switch.

I'm not really sure how that all works, actually...  But, the eventing you're doing looks really odd to me.
Actually theres 3 regions, each region is supposed to activate a switch an theres 3. I have tested that on other maps and they work fine, but on this one the char just wont show and the evect wont activate..
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Please edit your topic and give it a meaningful title.


You can change the topic title by editing the first post, and clicking the 'Use Full Editor' button. We KNOW you need help with something - that's why you're posting here. Please use keywords that give a clue as to WHAT you need help with.
 

Leafthefur

M4, the virgin
Member
Joined
May 2, 2014
Messages
5
Reaction score
0
First Language
English
Primarily Uses
Please edit your topic and give it a meaningful title.

You can change the topic title by editing the first post, and clicking the 'Use Full Editor' button. We KNOW you need help with something - that's why you're posting here. Please use keywords that give a clue as to WHAT you need help with.
Ok i edited it
 

Mouser

Veteran
Veteran
Joined
Aug 19, 2012
Messages
1,245
Reaction score
264
First Language
English
Primarily Uses
The first page of your event is setting switch 4.

The second page is checking for switch 5.
 

Tai_MT

Veteran
Veteran
Joined
May 1, 2013
Messages
5,472
Reaction score
4,859
First Language
English
Primarily Uses
RMMV
That's exactly what I tried say, Mouser...

Likewise, I think I remember reading somewhere that if it's possible, the program checks for the furthest page down the list first to see if it's events triggered and then loads that one.  So, the triggers would have to be in order as well.

But yeah, event won't trigger if the trigger isn't correct.  If you have Event 1 trigger Switch 1, but have Event 2 only be triggered by Switch 3...  Event 1 won't trigger Event 2 at all.  You'll have to change the trigger of Event 2 to be the one referenced in Event 1.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
You're right - the engine goes through pages in the reverse order (highest to lowest) when looking for one to make active. As soon as it finds one whose conditions are met (including pages with no conditions), it makes it active.


Therefore the things you want to happen earlier in the game will usually go on the lower numbered pages, and the things you want to happen later in the game will be on the higher numbered pages, with conditions used to determine when they will become active.


You might also find this to be of use.
 
Last edited by a moderator:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

People3_5 and People3_8 added!

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.

Forum statistics

Threads
105,868
Messages
1,017,081
Members
137,582
Latest member
Spartacraft
Top