DOOR forms busy

Post » Tue Nov 20, 2012 3:40 pm

If an npc is activating a DOOR form and then travelling between a pair, and that travel takes time, is there any way to make the DOOR's busy so that other NPC's won't attempt to use them and will wait until they aren't busy any more before using them?
User avatar
Skrapp Stephens
 
Posts: 3350
Joined: Mon Aug 06, 2007 5:04 am

Post » Tue Nov 20, 2012 8:22 pm

I think the game already does this. You can have two situations:

1. An NPC is following another. If the first NPC activates a teleport door and goes through, the second one simply approaches and teleports, regardless of door activation or state or anything.

2. Many seperate NPC's are trying to use the same teleport door. Once it is in use, the others will stand there and wait for it to complete, then try to activate it.

Unless I am misunderstanding what you're asking for? NPC's already wait once a teleport door is used, then try a few seconds later to use it.
User avatar
Hannah Whitlock
 
Posts: 3485
Joined: Sat Oct 07, 2006 12:21 am

Post » Tue Nov 20, 2012 5:40 am

I think in situation 2 they are being prevented from activating DOOR's simply because another NPC is in the way and they cannot physically reach the door.

In my case, the time taken to reach the destination is not arbitrary or insignificant. Travel between two doors takes real time (~9.0 seconds) and it would be awesome if during that time other npc's weren't hassling my code trying to use the door, they would just wait.


I know I'm being annoyingly vague (I've a few threads skirting around different problems relating to my situation) but I'm trying to keep this one pretty close to my chest until I'm ready to release it as a resource and part of my mod.
User avatar
Erin S
 
Posts: 3416
Joined: Sat Jul 29, 2006 2:06 pm


Return to V - Skyrim