Pulling an event, problem

Hi everybody 😍

I'm working on a really big game and I have a very simple problem: I'd like that the player can push and pull events. I don't have any problem with pushing, but with pulling... Here's the code and a video below

code.png



I tried every possible direction to pull: forward, backward, etc... But nothing works. I have the impression that the player is blocking the event. I don't know if you have a possible solution.

The player and the event both measure 48 x 48 pixels, the classic tile size.

plugins.png

Here are my plugins. I don't think any of them are particularly problematic
I just looked at a tutorial that I made for this exact thing and my Event looks exactly like yours and it works fine. So I'm not sure what is happening.

Unless someone else sees something obvious, my three suggestions would be to:
  • Try turning off your plugins to see if that makes a difference.
  • Try making a new map and recreating the Event on that map and make sure nothing but that Event is running for your play test.
  • If neither of those works, maybe try creating a brand new project and immediately recreate and test just that Event.
I could be missing something, but your Event is the same as mine and mine works. Very strange.
Yeah, your event code seems fine. When I have weird problems with movement I try increasing the Frequency. Oftentimes that helps.
That's really weird, I've tried to replicate this problem and it worked perfectly fine for me

Spoiler: My event
1708689729418.png

Game_2024-02-23_13-02-48.gif

Can you upload a demo project with this issue?
I FOUND THE SOLUTION
Thank you a lot for your help. I tested all your solutions but unhopeful they didn't manage to a solution. Apparently on my map, the pull action only works when the event priority is set below the character. And as I don't want the player to step on the crate in order to pull it out, I did it like this:

page 1.png
page 2.png


At the first page, the priority is set to Same as characters, so the player can't walk through the box. And at the second the priority is set to below character, and the pull function works. The trigger is set to autorun and not parallel otherwise the player could walk through the box at the same time as it moved.

Here the video below. I I've also recorded a very little bonus for your viewing pleasure, by way of thanks 😍

I’m glad you found an alternative, but I would be concerned that if you don’t know why something basic isn’t working in your project, that there might be a larger problem in your project that you don’t see yet, but might cause more problems down the road. Then it might be hard to track down and fix.
I’m glad you found an alternative, but I would be concerned that if you don’t know why something basic isn’t working in your project, that there might be a larger problem in your project that you don’t see yet, but might cause more problems down the road. Then it might be hard to track down and fix.
You're right, maybe it's caused by one of my common events. I'll see if it is that or another thing. But I don't think that's the case, because even when I create a new project, it doesn't work
DUDES I KNOW WHY IT DIDN'T WORK

1.png


I cleared the heroes 2, 3 and 4. But RPG Maker ran as if the heroes were still there. So when I stepped back, the second hero took Harold's place and blocked the box.

2.png


Now it's all good. I've tested everything and it works with the basic code.

I still have one last problem: in my game, there will be several playable characters, but not at the same time. One moment you'll be playing with character 1, then another with 2, then 3 and then 1 again. How can I create several heroes, but have RPG Maker play them one by one? That's another topic, and not the one we're discussing here. In any case, thank you so much for your help, you're so kind to take so much time for someone else 😍
I’m glad you found it! I didn’t think to ask about followers.

For your other question, what I would do, is just use the Event Command to add or remove party member. This should allow you to switch back and forth as you wish.
I cleared the heroes 2, 3 and 4. But RPG Maker ran as if the heroes were still there.
When you change or delete something in your database, it does not automatically delete it from anyplace else in your project.

For example, if you delete an enemy, it will still exist in any troops until you remove it.

Similarly, if you just delete those actors and you don't decrease your maximum actor number on the bottom, it doesn't have any effect on your Starting Party in the System tab of the database.

You need to remove the empty actors from getting added to your starting party there.

Original thread: https://forums.rpgmakerweb.com/threads/pulling-an-event-problem.166081/