AI Troubles

Post » Fri May 13, 2011 3:32 pm

been setting up the AI packages. for the mod I'm currently messing with. they are so far all doing as i tell them. except that they some times for a reison behond me decide to follow me around until i leave the cell. no where in the mod at all in ant way to i direct a npc to follow me any where. i thought at first it was just part of the merchant thing where they follow ya around there cell keeping line of sight... but its now happing with my guards too they have no service pack

cant for the life of me figure out why, they decide to follow... would be greatfull for any point in the right direction to get them to stop. extra condition , however..


here is an example of one of my guards that seems to follow me more them most....


Aggression 5 Confidence 50 Energy level 90 Responsibility 50


DHEatGRD1DinAi TYP:Eat Time:23 Dru:2 LocDat:refXmarker
Flag Continue if pc near

DH1Train2 TYP:Use it Time:21 Dur:2 T argetDat(Typ:Weapon melee) LocDat:refHeadingXmarker
Flag NA

DHEatGRD1BrkAI TYP:Eat Time:17 Dru:2 LocDat:refXmarker
Flag Continue if pc near

DHSleep1AI TYP:Sleep Time:13 Dru:4 LocDat:refXmarker
Flag Continue if pc near, Armor unequip, &Weapon unequip

DHPatrol1AI TYP:Travel Time:1 Dru:12 LocDat:refXmarker Condition: RefXmarker Getdistance 512
Flag Continue if pc near, & must reach loc

DHBeginPatrol TYP:Travel Any Editor loc
Flag Continue if pc near, & must reach loc

DHWander TYP:Wander Any Rad:Current loc 1000
Flag Continue if pc near, Armor unequip, &Weapon unequip


Player Fact, lvl 10 auto calc, warrior class, essential, female , No script



sorry could think of no better way to explane.. ask if you have need of more info to offer an answer...


Any how Thanks a tun for any time your willing to offer...
User avatar
brenden casey
 
Posts: 3400
Joined: Mon Sep 17, 2007 9:58 pm

Post » Fri May 13, 2011 8:21 pm

It's the 'continue if PC near' flag that does this. Should only be used to keep shops open while the player is inside the shop.
User avatar
Tiffany Holmes
 
Posts: 3351
Joined: Sun Sep 10, 2006 2:28 am

Post » Fri May 13, 2011 5:28 pm

Right ya are.. Thanks a tun; was think of it wrongly .. I had the idea it kept the counters ticking on the packages wile the pc was talking with one.. not that it just stopped the packaged from getting to a complete state ....

any how the flags are gone and all is well.. thanks for the point in the right direction...
User avatar
Latisha Fry
 
Posts: 3399
Joined: Sat Jun 24, 2006 6:42 am


Return to IV - Oblivion