Basically, I want to move an event to a specific location. For example, if an NPC is moving randomly in the middle of a house you want him to move straight to to the door. But the direction is not a straight path to the door.
I'm testing a Night/Day system so I can make him go inside at night. But once he is inside and randomly moving around, I can't just make him a B Line to the door. Is there anyway to set a specific path to with the "Set Movement Route" command?
I believe you can set a variable to a specific location on the map but I don't really understand this.
I'll keep testing in the mean time. Thanks in advance!
@wintrybarnes Thanks but I do not want a script. I guess I should have clarified I want to know if this is possible without a script.
Some more detail is I want to turn switches on and off to show certain NPCs in certain areas during different times of the days and see them walking in to the house or out. I know you have to flip switches off to make it look like they "exit" the building and etc
But I don't know how to move them toward the door if the NPC is randomly moving. (I guess I am thinking like Harvest Moon but I guess in Harvest Moon everyone is stationed at certain spots so path movement is easier....)
Is what I am asking possible without scripts? Am I being clear enough? Please let me know!
Eventing is what you do when you add event commands. Some people mistakenly call it scripting because they don't know there's also an actual thing called scripting that's very different. Some of the event commands let you add little tiny scripts.
Plugins are scripts. But the core files that the engine comes with and your new game starts with are also scripts. They all sit in your project's js folder. They are all javascript files. Plugins are a special type that you can just put in the correct place and will be available for use in the editor. They sometimes have parameters that you can fill in via the Plugin Manager. But they're still just scripts.
Thank you for explaining Shaz!
I'm still in testing on making a NPC/(or event) move depending on the time of day. I am using switches to hide the NPC when he is on different maps. I would share screenshots of the NPC but his event is so freaking long it would probably take me an hour or more just to screenshot and then copy and paste the event in parts. If there is an easier way to share please let me know.
I have a common event in the system menu that is my "timer" and adds 1. (Variable called Timer)
On each map itself I put an event called Day/Night on parallel process to change the tint to dark for night and light for day. The Day/Night event checks where the Timer /variable from the Common event is at. The timer resets to
At first I had a simple map with a house. So there were two maps, outside and inside the house. With the NPC outside I had a branch that checked if less than 90/equal to the timer he would be outside but if greater/equal to than 90 he headed toward the house. So a switch turned his image off outside and a switch was on inside.
But then I went further and added a third map, a park. I made it where he was seen walking up to stop in front of a tree at night. But once day hits I can't get him back to him just being outside on the first map.
I wanted the NPC to be here at the park at night but leave once it is morning. But if both branches are greater than 180 it does not work. I had the number if equal to but that didn't seem to work either?
I have attached a branch for the park event and the event for Day/Night.
Edit: I am trying to make a Harvest Moon like event, where characters are seen at different places during different times of the day. But I want more than two places, maybe 3 or 4.