TobiaszPL Posted November 17, 2019 Share Posted November 17, 2019 Hello :oI'm Tobi !... xD lol...Can i change somehow... bff... I want NPC to Attack player if player is not wearing this Faction Outfit...Yes i know i can do it via script with this add Faction or something xD at least i have one idea... But its first time i will try something like this so i want to ask your opinion :D For example we have...Bandits and Guards if player wear Bandits outfit then Guards attack player but Bantids dontbut if player wear Guards armor then Bandits attack player but Guards dont :D i know i can use Even OnEquip and try to do something with add to faction / remove but maybe there is better way to do it than creating and adding script to every single armor / outfit xD Link to comment Share on other sites More sharing options...
HeyYou Posted November 17, 2019 Share Posted November 17, 2019 Have a look at this mod. :) Link to comment Share on other sites More sharing options...
Austvinden Posted November 18, 2019 Share Posted November 18, 2019 Sounds like you have to attach a faction to an outfit / piece of armor. Only way I can think of it is via papyrus.You would have to use both "AddToFaction" with "OnEquipped" and "RemoveFromFaction" with "OnUnequipped".You would have to use the factions that are already in the game if you want to use e.g. the guard faction and bandit faction in your mod, because those are already enemies with each other in the vanilla game. However, if you would want the guards to attack you for wearing thieves guild armor, or daedric armor, or any other specific piece of armor / outfit, you would have to create new factions for those specific pieces of armor and specify in the faction settings that they are enemies with X. Why? Because some factions, like the Thieves Guild faction, don't make you enemy with the guards automatically upon entering the faction, like the bandit faction and guard faction does. Making a new faction tied to a specific piece of armor / outfit seems like the most clean and non-conflicting way to do it with these kind of outfits. Good luck. Link to comment Share on other sites More sharing options...
Recommended Posts