Jump to content

Spawned turrets attacking friends


SKKmods

Recommended Posts

Spawned turrets are attacking friendly NPCs when they shouldn't and I cant figure out why:

 

Using lvlTurretTriopd

RemoveFromAllFactions() to clear the default unfriendly TurretFaction

AddToFaction(PlayerFaction)

AddToFaction(WorkshopNPCFaction)

 

The spawned turret does not attack Player, Companion or spawned allies added to PlayerFaction.

 

The spawned turret does attack any other settlement settler (who is in WorkshopNPCFaction) and friendly citizens in DC, Goodneighbour, Bunker etc.

 

Any ideas ?

Link to comment
Share on other sites

The turrets are attacking neutral relationship NPC factions because the base game lvl actors are configured for:

 

Unaggressive - Will not initiate combat, but ...

Aggro radius - When a Neutral/Enemy enters the Attack radius, the actor just attacks ... didn't see the logic of attacks on neutrals coming.

 

So the answer is to create quest specific lvlTurret actors based on the LChar templates, configured for Aggressive to attack enemies on sight and disable aggro radius so they don't attack neutrals. Faff.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...