- Joined
- Mar 16, 2012
- Messages
- 469
- Reaction score
- 120
- First Language
- English
- Primarily Uses
- RMVX
This has been solved. Read the bottom of this post if you are having the same problem.
I'm using Near Fantastica's Path Finder v1 for RPG Maker VX by PK8.
What I'm trying to achieve is the player pressing a button and an event goes to his location.
The problem is that whenever I use the method in the picture (using the variables), the event doesn't move. But when I use exact coordinates, the event moves.
Here's my set up of the event.
This is basically a Parallel Process event that handles the whole thing.
The commented out (#) section in the Script Call works but the uncommented section isn't functional.
I'm trying to figure out why my method doesn't work. Or if it even can work.
Can anyone help please?
.:EDIT:.
Just in case if anyone is wondering why I'm not using the "Move Toward Player" function is because the event sometimes gets stuck when it's moving; i.e. in corners and when there is a non-passibility tile/event between the event and the player.
Thankfully, I found a script called Listra Pathfinder Module by Bunga Tepi Jalan. It fixes the problem.
I'm using Near Fantastica's Path Finder v1 for RPG Maker VX by PK8.
What I'm trying to achieve is the player pressing a button and an event goes to his location.
The problem is that whenever I use the method in the picture (using the variables), the event doesn't move. But when I use exact coordinates, the event moves.
Here's my set up of the event.
This is basically a Parallel Process event that handles the whole thing.
The commented out (#) section in the Script Call works but the uncommented section isn't functional.
I'm trying to figure out why my method doesn't work. Or if it even can work.
Can anyone help please?
.:EDIT:.
Just in case if anyone is wondering why I'm not using the "Move Toward Player" function is because the event sometimes gets stuck when it's moving; i.e. in corners and when there is a non-passibility tile/event between the event and the player.
SOLVED SECTION
I'm going to post my response to PK8's post here. I don't want to cause a necropost either.
That could work but let's say if the player is next to a wall, it might cause the same problem.I'm going to post my response to PK8's post here. I don't want to cause a necropost either.
I know it's a necropost but I think I now know why.
I'm not sure if you ever resolved it, but the reason it is occurring is because you are directly targeting something impassable (the player's current coordinates). Try randomly subtracting or adding one of the variables by 1 and see if it works.
Thankfully, I found a script called Listra Pathfinder Module by Bunga Tepi Jalan. It fixes the problem.
Last edited by a moderator:
