Event Move Routes over other Event Tiles

Status
Not open for further replies.

DShroom

Villager
Member
Joined
Mar 29, 2014
Messages
24
Reaction score
6
First Language
English
Primarily Uses
Hello everyone.

I'm having a little problem with a project.

Basically I have a little girl character who for a short while will follow the player through a forest. She's set to be a bit slower, is not part of the party and I've just made her an event with Parallel Process and the move route command to 'Move towards the player'. So far it's worked pretty well however as the player moves through the forest they are sort of backtracking to the beginning of the mission and pass over a few old events, these are all set to 'Below Character' but the little girl event can't seem to move past them; she gets stuck. I'm not sure why, I would have assumed the 'Below Character' would apply to moving events too but I guess not. Now if this was a cutscene type scenario I would just set the little girl event to 'Through' as she approaches another event but obviously she has got free movement based on how the player moves so I can't do this otherwise she just walks straight through trees haha.

So is there a way to resolve this at all?

The only thing I can think of so far is to copy the map and take all the old event placeholders out so it's free of obstruction but this seems a bit of a run around when there may potentially be an easier way.

Thank you all very much. :)
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
39,966
Reaction score
13,603
First Language
English
Primarily Uses
RMMV
You're sure she's set to Same as Characters?

Have you added or modified any scripts?  I always thought one event would go through another IF they had different priorities.  I'd look that up if I was at home - all I know is that the event's passability? method calls another method called collide_with_characters or something like that.  I don't recall if that does the priority check.  I don't think it'd take much to make it do it, if it doesn't already.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
30,920
Reaction score
7,450
First Language
German
Primarily Uses
RMMV
there is a tricky alternative to this, if you don't get the trhough fixed.


Yanfly has a script "restrict move region", that will allow you to set tiles as impassable to events or players by placing a predefined region ID on them. The original intention was probably to prevent randomly moving event to leave an area.


However, you can place the blocking ID on all regularly blocked tiles, and then the event won't go through there even if through is ON.
 

DShroom

Villager
Member
Joined
Mar 29, 2014
Messages
24
Reaction score
6
First Language
English
Primarily Uses
You're sure she's set to Same as Characters?

Have you added or modified any scripts?  I always thought one event would go through another IF they had different priorities.  I'd look that up if I was at home - all I know is that the event's passability? method calls another method called collide_with_characters or something like that.  I don't recall if that does the priority check.  I don't think it'd take much to make it do it, if it doesn't already.
Hi there.

Yep she's definitely set to 'Same as Character' and the rest as 'Below Character' so in theory I would have thought she would be able to walk over the tiles too but it would seem it doesn't work that way. I haven't changed any script at all, kept well away because I knew I'd get myself in a mess if I did start changing that.

EDIT:

Hi all!

I managed to figure out why it wasn't working. Once I put the other events (the one's set to 'Below') to 'Through' the moving event could pass through them. Thought this was very odd since, as I said, I would have thought the priorities would take care of it but it achieves exactly what I need right now.

Thank you all for your help!
 
Last edited by a moderator:

Celianna

Tileset artist
Global Mod
Joined
Mar 1, 2012
Messages
10,554
Reaction score
5,576
First Language
Dutch
Primarily Uses
RMMV
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
 
Status
Not open for further replies.

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

Latest Threads

Latest Posts

Latest Profile Posts

Say, does anyone know any other indie game development forums? Progress on my uni survey has been a little slow, so I wanna look into posting it around a bit more.
Due to the bullies' resurgence on Facebook and Twitter against my friend (and I since I defend), we've decided to move over to tumblr to try to obscure our presence, where we might finally be at peace working on games. If anyone wants my/our game's tumblrs to follow lmk. :kaojoy:
Is there anyone need help with anything except art and music?
is Gotcha Gotcha Games Inc. = KADOKAWA CORPORATION? I haven't found this topic yet, Want to know for credits on my game. Thanks.

Forum statistics

Threads
104,300
Messages
1,005,394
Members
135,825
Latest member
uniteditcare
Top