Code to Make an NPC Hostile?

Error message

Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /var/www/pied-piper.ermarian.net/includes/common.inc).
AuthorTopic: Code to Make an NPC Hostile?
Warrior
Member # 1250
Profile #0
Is there code to make only one character in a town become hostile towards your party?
Posts: 93 | Registered: Saturday, June 1 2002 07:00
Infiltrator
Member # 3040
Profile #1
From the Appendices:

short set_attitude(short which_char_or_group,short which_attitude)
- Sets the attitude of the character/group:
3 - friendly to party
4 - neutral
10 - hostile A
11 - hostile B

--------------------
5.0.1.0.0.0.0.1.0...
Posts: 508 | Registered: Thursday, May 29 2003 07:00