Sitting NPC

Post » Sun Apr 25, 2010 12:26 pm

I'm working with NPC's. I'm having one problem that I'm not sure what is happening.

I am trying to have the NPC start sitting in the chair and stay there. I did a linked ref to the chair and then in his AI Package I set it to the Use Item Package for the linked ref item, flagged as must complete and enable fallout behavior, schedule is any for all.

I was able to get him to sit once, but for some reason he doesn't sit anymore. Not sure what the issue is.
User avatar
scorpion972
 
Posts: 3515
Joined: Fri Mar 16, 2007 11:20 am

Post » Sun Apr 25, 2010 12:23 pm

I use a travel package with the chair as the destination and a radius of 0. I also have conditions on the package to keep it active until I don't want the NPC sitting any more.
User avatar
Pete Schmitzer
 
Posts: 3387
Joined: Fri Sep 14, 2007 8:20 am

Post » Sun Apr 25, 2010 1:45 pm

I use a "use item" with the item type being "furniture" and the package set up to be distance of 75 from the desired chair.

Bethesda did this when they needed "Dad" to stay seated and wait so, I had emulated that when I needed it.
User avatar
kennedy
 
Posts: 3299
Joined: Mon Oct 16, 2006 1:53 am

Post » Sun Apr 25, 2010 1:54 pm

Combat and detection events can also keep an NPC from sitting or performing an AI package as well.
User avatar
ChloƩ
 
Posts: 3351
Joined: Sun Apr 08, 2007 8:15 am

Post » Sun Apr 25, 2010 1:55 am

I'm working with NPC's. I'm having one problem that I'm not sure what is happening.

I am trying to have the NPC start sitting in the chair and stay there. I did a linked ref to the chair and then in his AI Package I set it to the Use Item Package for the linked ref item, flagged as must complete and enable fallout behavior, schedule is any for all.

I was able to get him to sit once, but for some reason he doesn't sit anymore. Not sure what the issue is.


Like pkleiss, I also use a travel package and set the chair as the destination with radius of 0. I've found that it is also necessary to navmesh the location.
User avatar
Laura Tempel
 
Posts: 3484
Joined: Wed Oct 04, 2006 4:53 pm

Post » Sun Apr 25, 2010 8:31 am

I use a "use item" with the item type being "furniture" and the package set up to be distance of 75 from the desired chair.

Bethesda did this when they needed "Dad" to stay seated and wait so, I had emulated that when I needed it.


This seemed to work. I don't think he'll ever have to get out of the chair so he can just stay there like this.
User avatar
Bryanna Vacchiano
 
Posts: 3425
Joined: Wed Jan 31, 2007 9:54 pm


Return to Fallout 3