OK, so I've created a small town, and I'm populating it with NPCs who go about doing their own things (like in Majora's Mask). For example, at 7pm, a fisherman gets up from his fishing spot and walks all the way to his cottage. This is not hard to do with a parallel event and Set Move Route.
The problem is that I want those NPCs to be able to be blocked (you might want to make the fisherman late for dinner, for example), but not permanently. To do this, I've created another parallel event that checks where the fisherman is and, if he is still there two seconds later, he says "Excuse me" and temporarily checks the "Through" passability option, just enough to free himself from whatever is blocking him. To make him late, the player would have to be insistent and block him several times.
The thing is: I can't use Set Move Route to change his passibility because there is already a Set Move Route queue from the first parallel event (the one that defines his walking route). So he remains stuck. I thought I could avoid this by having two event pages for the fisherman, one with "Through" off and another with it on. Then, instead of messing with Set Move Route, I could simply change a switch. But that doesn't work. The page change cancels the whole Set Move Route queue. The NPC becomes passable for a couple of seconds, but doesn't keep on walking after that.
Does anyone have any suggestions? Is there a script call I could use to check and uncheck the "Through" option without going through Set Move Routes? That would probably work.
The problem is that I want those NPCs to be able to be blocked (you might want to make the fisherman late for dinner, for example), but not permanently. To do this, I've created another parallel event that checks where the fisherman is and, if he is still there two seconds later, he says "Excuse me" and temporarily checks the "Through" passability option, just enough to free himself from whatever is blocking him. To make him late, the player would have to be insistent and block him several times.
The thing is: I can't use Set Move Route to change his passibility because there is already a Set Move Route queue from the first parallel event (the one that defines his walking route). So he remains stuck. I thought I could avoid this by having two event pages for the fisherman, one with "Through" off and another with it on. Then, instead of messing with Set Move Route, I could simply change a switch. But that doesn't work. The page change cancels the whole Set Move Route queue. The NPC becomes passable for a couple of seconds, but doesn't keep on walking after that.
Does anyone have any suggestions? Is there a script call I could use to check and uncheck the "Through" option without going through Set Move Routes? That would probably work.