Ok, so to make a 'guard' work you need a few things:
1) The npc_aggro fag in npc_types has to be set to 1.
2) The faction attached to the guard has to have a line telling it to attack the target faction. This is denoted in npc_faction_entries by a -1 in the npc_value and the faction number of what you want the guard to attack in the faction_id. For reference the faction for the Pickclaw Goblins is 249.
3) The creature you want the guard to attack must have a faction attached.
Finally: There appears to be a hard limit to how may factions any npc can keep track of, so if you have added several factions before 249 in the Highkeep Guards faction tables, there will be a cut of point where they just ignore the later ones.
I hope this helps.
|