Jump to content

Turn settlers hostile


Syngrith

Recommended Posts

Hi, I have a problem with turning settlers hostile. I tried everything.

 

BlaBla.SetRelationshipRank(Game.GetPlayer(), -4)

BlaBla.StartCombat(Game.GetPlayer())

AddToFaction: adding settlers to evil factions and turning them very aggressive), removing player from player faction and adding him to hostile one.

 

 

Nothing works. And I really need it to work. I'm finishing up Infiltration mod and I want to add option that would turn other factions hostile if you, for example, dress up like a raider and go to the settlement.

 

Also it's not a delivery problem (dynamically attached script) as my testing method BlaBla.setscale (2) works like a charm. So why won't they hate me?

Link to comment
Share on other sites

It works it's just that dynamically attaching script had a little hiccup and I did not wait for it to work. Loaded game to check, went to make myself a coffe and bam. The castle minuteman nuked me.

Link to comment
Share on other sites

It's great. If you are still there, do you know a way of making an in game npc a vendor? I tried adding them to vendor faction but it did not do anything and I want some of raiders to be vendors when player is in disguise in their camp.

Link to comment
Share on other sites

yeah, here), just have tried to batch agression and 'enemy' to all settlers, so it real not working)

only one think that comes to mind - player and settlers are at same faction, 'workshopNPCfaction', so this way they look at player like at friend

digging deeper)

Link to comment
Share on other sites

Player Enemy Faction did it in the end. I forgot to add a loop adding to a cloak effect so it only run once. >.< My mistake.

 

- Edit -

 

But it's working. Sadly I still can't make enemies go vendors.

 

- Edit 2 -

 

It's finished now. Just need to test and see if I did not forgot to add some properties somewhere.

Edited by Syngrith
Link to comment
Share on other sites

  • Recently Browsing   0 members

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