Alright, after fiddling and thinking about it for so long my head is all jumbled up but I'll try to explain it as best as I can.
First off, this event is working with Near's Advanced Time System. So, I don't know if it's possible.
I'm not that experienced but I think I've tried everything I can think of.
Ok, so my main objective is to get certain npcs to be able to talk to during the day but disappear during the night.
Sounds simple right?
So I start out with a conditional branch with the condition: call script
The script: $ats.hours_is >= 9 and $ats.hours_is <= 19
So when it's between 9 am and 7 pm is when I want this npc to appear and be able to initiate conversation.
The problem is that I have to have the trigger set on Action Button instead of Parellel Process so you don't see the text pop up where ever you are. But then that means the conditional branch will only check the time if you talk to the person, right? So the npc will not disappear unless you talk to them.
So then I tried getting a little more complicated and adding a few more conditional branches within the conditional branches which just led to tons of confusion. So I tried:
---
Conditional branch: Script: $ats.hours_is >= 9 and $ats.hours_is <= 19
Conditional branch: Self Switch A == Off
Conditional branch: Self Switch B == Off
@> Self Switch A == ON
Else
@> Self Switch B == ON
Branch End
Else
Branch End
Else
Branch End
---
And made it a parallel process. So if I made it right I wanted it to check if it was between 9 and 7, if it is check to see if self switch a is off, then b. I previously tried just looping the event but since it was a parallel process it was too laggy to even start the game.
So on event page 2, Self Switch A is ON, I made that into an action button and made a text event.
On event page 3, Self Switch B is ON, I made a Change Graphic to None which was a parallel process.
But since I was silly enough to forget that then the first page wouldn't loop, I ran across the same problem on page 2 which I originally thought I could just turn self switch A and B off but that still required the Action Button or it wouldn't execute.
So as you can see I just started to confuse myself and thought I'd ask for help.
Any ideas or suggestions are appreciated.
First off, this event is working with Near's Advanced Time System. So, I don't know if it's possible.
I'm not that experienced but I think I've tried everything I can think of.
Ok, so my main objective is to get certain npcs to be able to talk to during the day but disappear during the night.
Sounds simple right?
So I start out with a conditional branch with the condition: call script
The script: $ats.hours_is >= 9 and $ats.hours_is <= 19
So when it's between 9 am and 7 pm is when I want this npc to appear and be able to initiate conversation.
The problem is that I have to have the trigger set on Action Button instead of Parellel Process so you don't see the text pop up where ever you are. But then that means the conditional branch will only check the time if you talk to the person, right? So the npc will not disappear unless you talk to them.
So then I tried getting a little more complicated and adding a few more conditional branches within the conditional branches which just led to tons of confusion. So I tried:
---
Conditional branch: Script: $ats.hours_is >= 9 and $ats.hours_is <= 19
Conditional branch: Self Switch A == Off
Conditional branch: Self Switch B == Off
@> Self Switch A == ON
Else
@> Self Switch B == ON
Branch End
Else
Branch End
Else
Branch End
---
And made it a parallel process. So if I made it right I wanted it to check if it was between 9 and 7, if it is check to see if self switch a is off, then b. I previously tried just looping the event but since it was a parallel process it was too laggy to even start the game.
So on event page 2, Self Switch A is ON, I made that into an action button and made a text event.
On event page 3, Self Switch B is ON, I made a Change Graphic to None which was a parallel process.
But since I was silly enough to forget that then the first page wouldn't loop, I ran across the same problem on page 2 which I originally thought I could just turn self switch A and B off but that still required the Action Button or it wouldn't execute.
So as you can see I just started to confuse myself and thought I'd ask for help.
Any ideas or suggestions are appreciated.