My move route is being ignored...

bQeCdrH.png



MOST of this screen shot is working perfectly.  It is a ladder that the player can climb, but it is activateable from a distance by clicking with the mouse, so the first part of this event page is simply variables, checking to make sure the player is AT the ladder to climb it.

This same set up is on the first even page, and it successfully allows the player to CLIMB the ladder, I want the player to be able to now climb back DOWN the ladder with this second page.


The player is set to "through" because the ladder is an event the player can move onto walls, and this allows the player to move through the walls the ladder event is placed onto.

****when activated on this page, the event behaves as if the "through" command didn't register.  The move route is activated, the character even turns to "face up" and self switch A is even turned off, but my player never actually moves the two spaces I want him to.****

Any idea WHY my "through" would stop working?

*edited to fix image link*
The way you describe your event pages sounds weird.  Why are you eventing all this?  Why aren't you just using a ladder as a ladder?  You shouldn't need to change player's facing direction or turn on through if your tileset is set up correctly.
Why not just put an event that is set to below player/player touch, that asks the same things? Last time I checked player touch events won't activate until you are standing on them anyways, so all of that checking your X and Y is not needed.
This is a classic example of "over thinking" rpg maker.


Humorous hehe 
I hate to say it, but you guys have grossly miss understood how complicated the set up of my project is.  I am not merely using a tile set ladder.  This is a movable, peaceable ladder that the player places with the mouse, and they can put it on ANY wall they want, even walls that don't lead anywhere worth climbing to.  It can then be put BACK into the players inventory.

The "through" function NEEDS to be activated so that the player can travel through unpassable wall tiles, because when the ladder isn't on them, that's what they are, un passable walls.
 


@Shaz They need to be facing the ladder when they are going up AND when they are coming down.  It would be silly for them to climb down the ladder with their backs facing it.  wouldn't you agree? (also I didn't know about tilegraphics sharing their pathing settings when used as events as mentioned below.  But that set up still doesn't solve my issue.)


@bgillisp The ladder already IS set to below player in my actual project, I set it to same as character to test if the control switch was actually even being thrown and it is. Forgot to switch it back for the screen shot, my bad -.-.  The direction facing happens because it is a ladder... not a flight of stairs.  The reason this ladder cannot be set to player touch activate, is because like I said, the player can place it anywhere on walls.  The ladder is activateable from anywhere in the room, so that if the player puts it somewhere they cannot reach, they can still put it back in their bag and try again.  So the variables are there to make sure that the player can put the ladder back in their bag from anywhere in the room, but NOT climb it from anywhere in the room.

I will make a video demonstrating my full situation to help others better understand what's going on.

Thank you for everyone who has tried to be helpful... except for @Skunk who's reply seems quite frankly re-portable as it is not constructive at all... 

My original question still stands: "WHY is my "through" command being ignored by the engine."
Ok, first of all, that information should have been in the original post, as it does help with trying to fix the problem more (though I still think Same as players -> Player touch would work, as that still works on walls in my project, but I don't think that will fix your problem so not worth worrying about). Here are a couple ideas:


1: Put a text box under the choice for climb. See if that shows. If it shows, then you know you are getting to that choice at least. If not, then something is stopping the game from processing that choice and it is not doing any event processing under that group.


2: Turn through OFF on your event page you did show us. Last time I checked, events with Through ON can *never* be interacted with by the player (I could be wrong on that, but I've never had them work). Maybe that's the problem?


3: What's on pages 3 and 4? Maybe something in page priority is messing this up?


4: Plug-ins or scripts? A plug-in can change how events work. I've noticed that effectus (which I have) has changed a little of the default behavior, so if you have an anti-lag script see what happens without it. Maybe it changed the default behavior a little and even blocked off through.


5: Do you have a script that blocks off player movement to region x? If so I think even having through on will not pass through those regions. Not sure on that though, but might still be worth investigating.


Those are the ideas I have on this, hopefully one of them goes somewhere. Else you may have to post a test project (unencrypted, as they will need to be able to see the event logic too) and have someone check it out.
The through command should not be ignored unless either some script broke the function, or a different event turns it off - and you didn't give enough information about that to even guess.


That said, I would suggest trying it the way Shaz was thinking, because I agree with her that this is needlessly complicated (and nothing of your description gives any indication of why it should be).


Instead of using a ladder sprite, please use a ladder tile for the event. Have that tile flagged as a ladder in the tileset, and passable.


If you're using a tile selected from the tileset as the event graphic, the tile setting of that tile will automatically overwrite the settings for every place where the event is - which means that you no longer need through because the ladder tile is passable, the ladder flag will override the movement direction and always display the north sprite to give the indication of climbing even when climbing down, and you don't even need a move route or the direction fix because the engine will handle that automatically as with every other ladder from the tileset.


Try it this way - and then tell us why it wouldn't work for you doing that, then we might be able to find an alternative solution.
Can you humor me and post a screenshot of the "up" page, as well as the page that is activated by Switch A? Thanks.


edit: Duh, this is the page activated by SS A. 😛


The more I think about this, the more confusing the set up is to me, particularly, what turns on that A switch. So, I would recommend posting screenshots of all pages.
The through command should not be ignored unless either some script broke the function, or a different event turns it off - and you didn't give enough information about that to even guess.


That said, I would suggest trying it the way Shaz was thinking, because I agree with her that this is needlessly complicated (and nothing of your description gives any indication of why it should be).


Instead of using a ladder sprite, please use a ladder tile for the event. Have that tile flagged as a ladder in the tileset, and passable.


If you're using a tile selected from the tileset as the event graphic, the tile setting of that tile will automatically overwrite the settings for every place where the event is - which means that you no longer need through because the ladder tile is passable, the ladder flag will override the movement direction and always display the north sprite to give the indication of climbing even when climbing down, and you don't even need a move route or the direction fix because the engine will handle that automatically as with every other ladder from the tileset.


Try it this way - and then tell us why it wouldn't work for you doing that, then we might be able to find an alternative solution.


This is a very very good answer.  While you do not know the exact reason for the through command not working, simple confirmation that my move route command did not appear to be wrong and that the issue lies elsewhere is a good start in looking for the actual solution.

I did not know that assigning tile graphics to events gave them the tileset movement attributes.  This is handy to know.  My current concern for this is that my ladder is two tiles tall, meaning only the bottom tile of the ladder will have the event attributes.  I suppose I could make my placeable ladders only 1 tile tall, and make the player place more than one on top of each other, though this would be a shame as it seriously limits the graphical looks I can use for ladder varieties, as I am building a home decor set up with wide varieties of furniture.  The set up I am using right now is ideal, if only I could get the movement command to function.

In a recent discovery though, I placed the ladder on the floor where all tiles are passable and the movement command still did not work, as to suggest that the THROUGH command is not the problem, the actual movement command is... as the character direction DOES change, and the self switch is still being thrown as in intended.  What is worthy to note is that for a few seconds after the movement is attempted... the mouse is disabled... but they board is not..

Thank you so much for your response!

Upon testing, giving the event the ladder graphic from the tileset page does not give it passability over walls, even though the tileset passability is set to "0" AND is set to "ladder" with the little ladder graphic
I see I was ninja'ed by a much better answer by Andar. I was experimenting with it, and what I did was to have two events - one at the bottom with the graphic of the bottom of the ladder to get you up and one at the top with the graphic of the top ladder to get you down. It worked simply with only one page of commands - the move route. I also made it to move 3 spaces so that you weren't left standing on the ladder.

Spoiler
PQVt3VW.png



Of course you'd have to add your checks in and such.
Upon testing, giving the event the ladder graphic from the tileset page does not give it passability over walls, even though the tileset passability is set to "0" AND is set to "ladder" with the little ladder graphic

What type of tiles are you trying to walk onto (as in, is it a tile from A3? A4? A5? B? C?)? Not all walls in the editor are meant to be walked on, some of them are meant to be ceiling only.
What type of tiles are you trying to walk onto? Not all walls in the editor are meant to be walked on, some of them are meant to be ceiling only.

They are definitely regular wall tiles, not ceilings.  Part of autotile set up.  But I've been doing some experiments, and my movement commands aren't even working on the regular floor with full passability.  All commands are working except for ones telling hte character to move down.  Even moving up is working... even on the wall where the ladder is.

Everything I've been trying to do is working except for the most basic part 😛   and that is the move down command... doesn't seem to work anywhere at all... so in the end this might not be a problem you guys can help me with without actually having the actual project file to dig through.  Thanks for trying to help though, I really appreciate it.  I'll let you know if I make any more progress.
Ah. I read that as it was no longer letting you up onto the last tile, hence why I asked that. Sounds to me like it is a plug-in problem then, as something is stopping the player from moving. Maybe you should try having your player do a silly move route just to see if anything works at that point (like say have them move right or left. Sure, its not what you want, but it will see if the movement is the problem, or the down is the problem). Or, see what happens if you don't put direction fix ON? If it works now, then the direction fix is the problem (which means it is probably a plug-in problem then).
That really sounds as if some plugin broke the engine - there is no reason why the move route should work with move up but not with move down.


And you're correct - that is impossible to solve without getting the entire project and even then it would be a lot of work to first even understand the project structure and then trying to find the cause.


A few suggestions however: some plugins require the core files from 1.2.0 in the newest version, and some older plugins have become incompatible to the update to 1.2.0


I would suggest checking which version your core files are and for which core versions your plugins have been written, and perhap update everything to the newest versions.
I have tracked the issue down to a script called "galv_stationaryturn"  

This script is designed to let you rotate your character on the spot and it was preventing any movement that was not in the same directiion the player was already facing.

I sent it to Galv and he's already made a fix!


If you are using the script, here is a link to the page: https://galvs-scripts.com/category/rmmv-plugins/mv-on-map/#post-1749

Thanks a million once again to anyone who tried to help!  

Thanks to @Andar for making me think to check my scripts for movement disables.  I naturally assumed I had just done something stupid in my event set up.

You can mark this as solved 🙂
I see I was ninja'ed by a much better answer by Andar. I was experimenting with it, and what I did was to have two events - one at the bottom with the graphic of the bottom of the ladder to get you up and one at the top with the graphic of the top ladder to get you down. It worked simply with only one page of commands - the move route. I also made it to move 3 spaces so that you weren't left standing on the ladder.

Spoiler



Of course you'd have to add your checks in and such.


Thanks for this, the issue is that I couldn't add that top event, as the player gets to choose where the bottom event goes, so spawning the top event would be more complicated than it's worth.
Upon testing, giving the event the ladder graphic from the tileset page does not give it passability over walls, even though the tileset passability is set to "0" AND is set to "ladder" with the little ladder graphic



Just to make sure that this part was caused by the same script: I just tested it myself and in a vanilla project, event tile images do override the passability of the regular map and you can climb walls on evented ladders.


Of course that doesn't change the fact that you'll need to place two events for a two-tile ladder so with the other problem solved you might still use your old method.
Just to make sure that this part was caused by the same script: I just tested it myself and in a vanilla project, event tile images do override the passability of the regular map and you can climb walls on evented ladders.


Of course that doesn't change the fact that you'll need to place two events for a two-tile ladder so with the other problem solved you might still use your old method.


Good to know, thanks for checking that.  And yes, everything is working beautifully now.  My old method is working perfect, and some day soon I will present the game to you and you will all say aaaaahhh thaaats why he had to make it so complicated 😛  haha.  Thanks again!  You very much indirectly solved my issue.  Wouldn't have found it as fast without your help,
@Shaz They need to be facing the ladder when they are going up AND when they are coming down.  It would be stupid for them to climb down the ladder with their backs facing it.  wouldn't you agree?





You know, I'm not an idiot.  Nowhere did I say you don't have to be facing a certain direction.  I said if you use the tileset ladder, it takes care of the direction itself so you don't need to event it.  And I asked why you are trying to event it rather than using the tileset ladder.  None of that warranted your response.  What it warranted was an explanation of why you felt you needed to event it.


You never indicated in your request why you were eventing it in the first place.  Nor did you state how much experience you have.  We are not mind readers, and people do go about things the hard way sometimes.  I do not subscribe to the "let them do it the way they want, even if there's an easier way" theory.  In order to teach well, we need to pull people up when they're doing things the hard way, and show them an easier way to do it.  The first part of that is figuring out WHY they're trying to do it that way and why they've rejected the easier way.  That's what I was doing.  I'm grateful that you answered my questions so I got an understanding of your actual needs and could then proceed to help.


Oh wait ... you didn't.  You just went off.
You know, I'm not an idiot.  Nowhere did I say you don't have to be facing a certain direction.  I said if you use the tileset ladder, it takes care of the direction itself so you don't need to event it.  And I asked why you are trying to event it rather than using the tileset ladder.  None of that warranted your response.  What it warranted was an explanation of why you felt you needed to event it.


You never indicated in your request why you were eventing it in the first place.  Nor did you state how much experience you have.  We are not mind readers, and people do go about things the hard way sometimes.  I do not subscribe to the "let them do it the way they want, even if there's an easier way" theory.  In order to teach well, we need to pull people up when they're doing things the hard way, and show them an easier way to do it.  The first part of that is figuring out WHY they're trying to do it that way and why they've rejected the easier way.  That's what I was doing.  I'm grateful that you answered my questions so I got an understanding of your actual needs and could then proceed to help.


Oh wait ... you didn't.  You just went off.


I didn't mean to offend.  I will inbox you.

Original thread: https://forums.rpgmakerweb.com/threads/my-move-route-is-being-ignored.65788/