The problem is that the NPC is still running the actbusy logic, which is preventing the NPC from playing a scripted sequence. The best thing to do would be to simply disable the actbusy goal (or node if the goal is controlling multiple NPCs), and then play the sequence after the NPC has finished exiting the actbusy.
Robin. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Vollmer Sent: Tuesday, July 25, 2006 1:22 AM To: hlcoders@list.valvesoftware.com Subject: Re: [hlcoders] Problem with NPC and VCD Thanks for your help! I'm using a Sequence pointing to SitChair_to_Idle to make them stand up. I'll try the npc_relationship and see if that works. Thanks, Thomas ----- Original Message ---- From: Robin Walker <[EMAIL PROTECTED]> To: hlcoders@list.valvesoftware.com Sent: Monday, July 24, 2006 9:58:48 AM Subject: RE: [hlcoders] Problem with NPC and VCD How are you instructing the citizen to stand in the LCS? Citizens automatically join the player's squad under certain circumstances. We've changed this code a bit for Ep1, so my memory could be confused, but I think they won't join the player's squad if they're neutral to the player. So try putting down an npc_relationship entity and have it set the citizen's relationship to the player to neutral, and see if that fixes it. If you're a coder, take a look at CNPC_Citizen::CanJoinPlayerSquad() to see the code that controls this logic. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Vollmer Sent: Saturday, July 22, 2006 3:06 PM To: hlcoders@list.valvesoftware.com Subject: Re: [hlcoders] Problem with NPC and VCD Anyone? --- Thomas Vollmer <[EMAIL PROTECTED]> wrote: > Ok, so I've followed the instructions at [1]. > > Now I have an npc_citizen that spawns somewhere on the map, and then > proceeds to sit down on a chair using the Actbusy system - great! But > now the citizen stays seated even when the trigger starts the LCS/VDC > which instructs the citizen to stand (and then talk). The talking > works fine, just the standing up doesn't. > > Also, the citizen follows the player around once he/she sees the > player. How can I stop that? > > Thanks! > Thomas > > [1] http://developer.valvesoftware.com/wiki/Actbusy > > --- Aaron Schiff <[EMAIL PROTECTED]> wrote: > > Actbusy is the answer > > > Regards, > Thomas > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please > visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > Regards, Thomas _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders