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 https://forums.kleientertainment.com/forums/topic/37841-mod-request-ctrl-f-force-attack-to-ignore-friendlies/ 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 https://forums.kleientertainment.com/forums/topic/37841-mod-request-ctrl-f-force-attack-to-ignore-friendlies/#findComment-504940 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 https://forums.kleientertainment.com/forums/topic/37841-mod-request-ctrl-f-force-attack-to-ignore-friendlies/#findComment-505021 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 https://forums.kleientertainment.com/forums/topic/37841-mod-request-ctrl-f-force-attack-to-ignore-friendlies/#findComment-505054 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now