Hello!
I'm back again and would like an opinion on how to approach this idea:
I have NPC ships set to simple movement routes (for now just circling around their areas) and I have set up a day/night system for the ships.
However, I would like to know how I could set their movement route to 'dock at the shoreline/pier' depending on the event's (the npc ships) location:
If I were to try it myself, I would probably just set the event's location after a certain amount of time in the day/night system, but I don't want the player to see them just teleport to the spot. I would like the ships to have a set movement route from their location to the parking spaces I'll provide them so it looks like the ships are sailing back to shore for the end of the day.
My experience:
I understand eventing enough to event with variables and switches (I have recently learned how to check locations of an event with eventing) but I have little Javascript experience. I can kinda understand what I am reading in plugins but I mostly just use the plugin commands already coded. I am comfortable with using script calls, however!
Basically, what I would like help with is understanding how I could approach this idea. I know I will need to check the location of the event with what I have learned recently, but I don't know how to set the movement route depending on event location.
Depending on location > set movement route to > these coordinates on the map.
Would it be possible? I think I am missing something for sure.
EDIT: I figured it out in the meantime. It was 'pathfinding'. I used Shaz's smart pathfinding plugin: https://forums.rpgmakerweb.com/index.php?threads/smart-pathfinding.46761/
Events can't move in water, so I checked 'THROUGH' in the event window so it could move.
The thread can close now.
I'm back again and would like an opinion on how to approach this idea:
I have NPC ships set to simple movement routes (for now just circling around their areas) and I have set up a day/night system for the ships.
However, I would like to know how I could set their movement route to 'dock at the shoreline/pier' depending on the event's (the npc ships) location:
If I were to try it myself, I would probably just set the event's location after a certain amount of time in the day/night system, but I don't want the player to see them just teleport to the spot. I would like the ships to have a set movement route from their location to the parking spaces I'll provide them so it looks like the ships are sailing back to shore for the end of the day.
My experience:
I understand eventing enough to event with variables and switches (I have recently learned how to check locations of an event with eventing) but I have little Javascript experience. I can kinda understand what I am reading in plugins but I mostly just use the plugin commands already coded. I am comfortable with using script calls, however!
Basically, what I would like help with is understanding how I could approach this idea. I know I will need to check the location of the event with what I have learned recently, but I don't know how to set the movement route depending on event location.
Depending on location > set movement route to > these coordinates on the map.
Would it be possible? I think I am missing something for sure.
EDIT: I figured it out in the meantime. It was 'pathfinding'. I used Shaz's smart pathfinding plugin: https://forums.rpgmakerweb.com/index.php?threads/smart-pathfinding.46761/
Events can't move in water, so I checked 'THROUGH' in the event window so it could move.
The thread can close now.