Jump to content

[LE] Custom Faction Problem


Voberon

Recommended Posts

Hi everyone. So i wanted to create a faction that would be friendly to vanilla enemies (like bandits). By friendly i mean non-hostile. The problem is enemies still attack me on site. I set relationship between factions as "ally", used SetReaction via script, still nothing. Its probably easy for veterans but i'm new to this modding thing.

Link to comment
Share on other sites

How are you using SetReaction specifically? You would need to change the faction relation of the bandit faction towards your custom faction, not the other way around. So like this:

EnemyFaction.SetReaction(MyCustomFaction, 3)

Also, remember to fill the properties.

Edited by wormple12
Link to comment
Share on other sites

Thanks for the reply. Just figured it out. I had mod that added a bunch of enemies. For the sake of testing i killed every mod-added bandit through console and only then approached the remaining vanilla ones. And those didnt attack me (finally!).

Link to comment
Share on other sites

  • Recently Browsing   0 members

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