How do I make friendly npcs into enemies?

Need Help? The Day isnt going so well on the Mapping front?
Post Reply
User avatar
Dominic
Donator
Donator
Posts: 54
Joined: Thu May 13, 2010 7:02 am
Contact:

How do I make friendly npcs into enemies?

Post by Dominic »

Hi guys! I am making a map and I'm at this part of the map where I have to make the friendly npcs into my(everyone's) enemies. How would i do this? Do I use ai_relationship, if so how might i use that? If not, it would be very helpful if someone told me how to! Thanks for reading, I hope somebody replies
User avatar
Tysn
Former Developer
Former Developer
Posts: 358
Joined: Thu Oct 26, 2006 1:57 am
Location: Minnesota, USA
Contact:

Post by Tysn »

Yes, you use ai_relationship. Set the subject as the classname of the npc (npc_citizen, for example) and the target as "player". Then set the disposition to "Hate" and priority to "99". Then set the fields "Start Active" and "Reciprocal" to true.
Image
User avatar
Dominic
Donator
Donator
Posts: 54
Joined: Thu May 13, 2010 7:02 am
Contact:

Post by Dominic »

Tysn wrote:Yes, you use ai_relationship. Set the subject as the classname of the npc (npc_citizen, for example) and the target as "player". Then set the disposition to "Hate" and priority to "99". Then set the fields "Start Active" and "Reciprocal" to true.
Thank you, very very very much for that, that will help me a lot. Quick reply too :)
Post Reply