Passive NPC

Passive NPC

Re: Passive NPC Posted by OVRKLL on Tue Jan 22nd 2008 at 7:30pm
OVRKLL
28 posts
Posted 2008-01-22 7:30pm
OVRKLL
member
28 posts 3 snarkmarks Registered: Aug 17th 2007 Occupation: Student Location: Denmark
Hey all,

How do I make an NPC unable to speak and/or attack unless prompted to? I need this for a short cinematic in a map:

Metrocop walks to door
Door opens
Metrocop DOESN'T just rush over to the player and start hitting on him <<
Metrocop plays animation and waits
Metrocop walks a few steps towards the player and the scene fades out
Just another guy trying to make a map...
Re: Passive NPC Posted by Natus on Tue Jan 22nd 2008 at 7:57pm
Natus
570 posts
Posted 2008-01-22 7:57pm
Natus
member
570 posts 76 snarkmarks Registered: Jan 28th 2005 Location: Denmark
Name your metrocop something, like cop1.

Create an ai_relationship, set the subjet to cop1, and the target to !player, then set disposition to "neutral" and make the entity start active by selecting "yes" in the start active menu.
Boo f**king Hoo
Re: Passive NPC Posted by Zein on Tue Jan 22nd 2008 at 8:33pm
Zein
167 posts
Posted 2008-01-22 8:33pm
Zein
member
167 posts 517 snarkmarks Registered: Sep 1st 2006 Occupation: Computer fixing Location: United States
just rush over to the player and start hitting on him

lol hitting on him, but what Natus says is true. I just would like to point out the funny pun in your sentence.
YeaY! Fer MesPehling WerDs

The expression for success is
(energy x enthusiasm)

~Zein
Re: Passive NPC Posted by OVRKLL on Tue Jan 22nd 2008 at 9:32pm
OVRKLL
28 posts
Posted 2008-01-22 9:32pm
OVRKLL
member
28 posts 3 snarkmarks Registered: Aug 17th 2007 Occupation: Student Location: Denmark
just rush over to the player and start hitting on him
lol hitting on him, but what Natus says is true. I just would like to point out the funny pun in your sentence.
Whoops! :biggrin:
Well, thanks to you both. I just wish there was a more logical way than setting the relationship...
Just another guy trying to make a map...