For starters, please do not recommend me a plugin.
So I have a set variable call "Day/Night timer" I wish to make the appearance of NPCs coming and going from their houses.
When it hits 180 the switch NIGHT is turned on and if it is 0 to 180, the switch DAY is on.
What I have been doing is turning switches on and off to hide the npc if the timer is past 90. And also using switches to show that when the time is past 90, a switch is turned on to show them leaving.
For this test, I would like the NPC to walk around the house randomly and you can talk to them. Once the timer hits 90, a switch is turned on and they head straight out the door. Another switch is turned on to hide their image to show that they have exited the building.
Outside, if timer is past 95 I would like the image of the NPC inside the house to be gone and outside of the house an event that was in front of the door that was blank, now has the NPC image and is moving to walk to town. Once they have reached the area on the map that teleports the player to town, another switch is turned on to hide the NPC image to show that the NPC has entered town.
In town, if timer is past 105 I would like the switch to show the npc walking to town off in the previous area and right now be walking to a specific place in town. So a switch is used to show the NPC entering town and another switch is turned on on the exact spot where the NPC stops and the event that was moving is now off.(or hidden)
Then I want the Npc to walk back home at night. (So more switches on and off to indicate movement towards home)
I had this achieved with switches but I realized I need a condition branch to check what time it is to start turning on switches. Because if the player isn't in the home then the chain reaction of the NPC moving out of the house into town will not start. It needs the IF timer is greater than 90 and such to move the event. That way it flows no matter where you in the game.
How do I set this up? Is this even possible? Does this make sense? I've spent longer than I should have on this.
Edit: Nevermind for now, I think I almost go this figured out. I just had to fix something I missed. ^^:
So I have a set variable call "Day/Night timer" I wish to make the appearance of NPCs coming and going from their houses.
When it hits 180 the switch NIGHT is turned on and if it is 0 to 180, the switch DAY is on.
What I have been doing is turning switches on and off to hide the npc if the timer is past 90. And also using switches to show that when the time is past 90, a switch is turned on to show them leaving.
For this test, I would like the NPC to walk around the house randomly and you can talk to them. Once the timer hits 90, a switch is turned on and they head straight out the door. Another switch is turned on to hide their image to show that they have exited the building.
Outside, if timer is past 95 I would like the image of the NPC inside the house to be gone and outside of the house an event that was in front of the door that was blank, now has the NPC image and is moving to walk to town. Once they have reached the area on the map that teleports the player to town, another switch is turned on to hide the NPC image to show that the NPC has entered town.
In town, if timer is past 105 I would like the switch to show the npc walking to town off in the previous area and right now be walking to a specific place in town. So a switch is used to show the NPC entering town and another switch is turned on on the exact spot where the NPC stops and the event that was moving is now off.(or hidden)
Then I want the Npc to walk back home at night. (So more switches on and off to indicate movement towards home)
I had this achieved with switches but I realized I need a condition branch to check what time it is to start turning on switches. Because if the player isn't in the home then the chain reaction of the NPC moving out of the house into town will not start. It needs the IF timer is greater than 90 and such to move the event. That way it flows no matter where you in the game.
How do I set this up? Is this even possible? Does this make sense? I've spent longer than I should have on this.
Edit: Nevermind for now, I think I almost go this figured out. I just had to fix something I missed. ^^: