Highkeep Guards on Strike?
For some reason, the guards in High Keep appear to be on strike. If I train out with Goblins, they watch them beat on me and take absolutely no action to help.
Before I go looking for myself, does anyone know what causes guards to help or not help? Is it tied to faction? NPC guard flag? Thanks. |
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. |
In the source code (features.h)
Code:
//max factions per npc faction list |
Quote:
|
All times are GMT -4. The time now is 03:36 AM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.