Syngrith Posted May 24, 2017 Share Posted May 24, 2017 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 More sharing options...
JagMaker Posted May 25, 2017 Share Posted May 25, 2017 u can try to go 'actors' - 'workshopNPC' - 'factions', and add there 'PlayerEnemyFaction'but this way they will be angry permanentlyalso u can use it in ur script to change conditions) Link to comment Share on other sites More sharing options...
Syngrith Posted May 25, 2017 Author Share Posted May 25, 2017 Tried adding them to player enemy faction. Nothing works, except attacking them but then you are a bad guy. Link to comment Share on other sites More sharing options...
JagMaker Posted May 25, 2017 Share Posted May 25, 2017 min, have programs opened now, will try and type u Link to comment Share on other sites More sharing options...
Syngrith Posted May 25, 2017 Author Share Posted May 25, 2017 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 More sharing options...
Syngrith Posted May 25, 2017 Author Share Posted May 25, 2017 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 More sharing options...
JagMaker Posted May 25, 2017 Share Posted May 25, 2017 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 frienddigging deeper) Link to comment Share on other sites More sharing options...
Syngrith Posted May 25, 2017 Author Share Posted May 25, 2017 (edited) 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 May 25, 2017 by Syngrith Link to comment Share on other sites More sharing options...
Recommended Posts