Tenshin Posted June 26, 2014 Share Posted June 26, 2014 Like title, I've been looking for a way to make force attack while using Ctrl-F to avoid/ignore going for Chester, Abigail or other friendlies. I still want Ctrl+Click to work like normal. It would help a ton when getting swarmed by frogs or other situations such as this where you get attacked by multiple neutrals that don't become hostile until you take damage or you attack them and such you can't just use F to attack, but at the same time you don't start attacking the closest mob which can be Chester or other companions, which makes all the other companions attack that target.I remember vaguely reading something about this some time ago or a post where somebody was giving an example of this, but I've been trying to find that on google searches with no success.I would appreciate if someone can point me in the right direction .Thanks! Link to comment Share on other sites More sharing options...
Silentdarkness1 Posted June 27, 2014 Share Posted June 27, 2014 Closest one I can think of was the No Wall F-ing mod. By simplex. Link to comment Share on other sites More sharing options...
Tenshin Posted June 27, 2014 Author Share Posted June 27, 2014 Yes! That's the one that I saw some time ago when I was looking at simplex's mods. I think I can adapt it easily for what I need.Thanks! Much appreciated! Link to comment Share on other sites More sharing options...
Rincevvind Posted June 27, 2014 Share Posted June 27, 2014 i am using this:local function DontHitMeWulfe(inst,attacker) return not attacker:HasTag("wulfe") -- return attacker.prefab~="player"endfunction SomePrefabInit(inst) inst.components.combat.canbeattackedfn=DontHitMeWulfeendAddPrefabPostInit("hound", SomePrefabInit) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.