It looks like the day/night waypoint system used in NWN doesn't work in NWN2:
http://forum.bioware...-npc-waypoints/
Chances are you'll have to script it yourself - unless someone else has a system they're willing to share.
I tend to have usable objects function as mediators, so I don't have to try to queue up multiple actions in a sequence. I might have an NPC's heartbeat script check the time of day, and check what area they're in, and if the two don't belong together I have the HB script:
- Check that their action queue is empty, they're not in conversation, and they're not in combat. Have the script fall through if they're otherwise engaged.
- If they're free to do something, command them to use a certain placeable or open a certain door. They'll run to use it automatically. An action will be added to their action queue, preventing the HB script from adding multiple instances of that action if it takes more than six seconds to reach the placeable or door.
- Give the placeable or door an OnUsed or OnOpened script that checks who is using/opening it
- If it's a certain NPC using it, then do something special. Ignore anyone else using it (or have it function as usual).
If the player interrupts the NPC's action queue (such as by talking to them), the NPC's HB script will simply start again from scratch once they're no longer in conversation, sending them off to try to use the placeable or door again.