NeuroticPixels wrote: »It already exists.
The addon is called Vampire’s Woe. Check it out.
I found the addon agan but it is not on www.esoui.com @FlopsyPrince
CaptainBlagbird had written it, I've uploaded it to a dropbox for you:
Innocent Attack Toggle
I hope he is fine with that, not sure why it's not on ESOUI.com, maybe it was a small one just posted to some ESOUI forum thread. never released.
Necrotech_Master wrote: »NeuroticPixels wrote: »It already exists.
The addon is called Vampire’s Woe. Check it out.
this only partially would do what the OP is asking
this can disable the blade of woe, but it wouldnt say stop you from using a light attack or some other skill on an NPC accidentally
FlopsyPrince wrote: »I loaded it, but I haven't tried it yet. How do youI found the addon agan but it is not on www.esoui.com @FlopsyPrince
CaptainBlagbird had written it, I've uploaded it to a dropbox for you:
Innocent Attack Toggle
I hope he is fine with that, not sure why it's not on ESOUI.com, maybe it was a small one just posted to some ESOUI forum thread. never released.
Thanks, but I prefer to stick with things on esoui.
The one mentioned above did not help either, since it seems to just control vampire blade of woe conflicts.
I think it was on ESOUI like other addons of CaptainBlagbird still are.Thanks, but I prefer to stick with things on esoui.
--[[ Innocent Attack Toggle by CaptainBlagbird https://github.com/CaptainBlagbird --]] --Get the language local lang = GetCVar("language.2") local langArray = { ["en"] = "Toggle 'Prevent Attacking Innocents'", ["de"] = "Schalte 'Unschuldige verschonen' um", ["fr"] = "Toggle 'Prevent Attacking Innocents'", ["es"] = "Toggle 'Prevent Attacking Innocents'", ["ru"] = "Toggle 'Prevent Attacking Innocents'", ["it"] = "Toggle 'Prevent Attacking Innocents'", } local langFeedbackArray = { ["on"] = { ["en"] = "enabled", ["de"] = "Aktiviert", ["fr"] = "aktivé", ["es"] = "enabled", ["ru"] = "enabled", ["it"] = "enabled", }, ["off"] = { ["en"] = "disabled", ["de"] = "Deaktiviert", ["fr"] = "désactivé", ["es"] = "disabled", ["ru"] = "disabled", ["it"] = "disabled", }, ["chatOutput"] = { ["en"] = "Prevent attacking innocents: ", ["de"] = "Verhindere Attacken auf Unschuldige: ", ["fr"] = "Prévenir attaques contre innocents: ", ["es"] = "Prevent attacking innocents: ", ["ru"] = "Prevent attacking innocents: ", ["it"] = "Prevent attacking innocents: ", } } -- Binding string ZO_CreateStringId("SI_BINDING_NAME_INNOCENTATTACKTOGGLE", langArray[lang] or langArray["en"]) SafeAddVersion("SI_BINDING_NAME_INNOCENTATTACKTOGGLE", 1) -- Function for binding function InnocentAttackToggle() local setting = GetSetting(SETTING_TYPE_COMBAT, COMBAT_SETTING_PREVENT_ATTACKING_INNOCENTS) if setting == "1" then setting = "0" else setting = "1" end SetSetting(SETTING_TYPE_COMBAT, COMBAT_SETTING_PREVENT_ATTACKING_INNOCENTS, setting, 1) local feedbackOn = langFeedbackArray["on"][lang] or langFeedbackArray["on"]["en"] local feedbackOff = langFeedbackArray["off"][lang] or langFeedbackArray["off"]["en"] local chatOutput = langFeedbackArray["chatOutput"][lang] or langFeedbackArray["chatOutput"]["en"] local str = setting=="1" and "|c00FF00" .. feedbackOn .. "|r" or "|cFF0000" .. feedbackOff .. "|r" d(chatOutput .. str) end
I think it was on ESOUI like other addons of CaptainBlagbird still are.Thanks, but I prefer to stick with things on esoui.
And it's exactly what you have asked for...
If you think it's harming:
Just check the code, its a simple keybind changing the option for attack innocents.
And chat ouput.
That's all.
Here is the small code of it, you should be able to see yourself:--[[ Innocent Attack Toggle by CaptainBlagbird https://github.com/CaptainBlagbird --]] --Get the language local lang = GetCVar("language.2") local langArray = { ["en"] = "Toggle 'Prevent Attacking Innocents'", ["de"] = "Schalte 'Unschuldige verschonen' um", ["fr"] = "Toggle 'Prevent Attacking Innocents'", ["es"] = "Toggle 'Prevent Attacking Innocents'", ["ru"] = "Toggle 'Prevent Attacking Innocents'", ["it"] = "Toggle 'Prevent Attacking Innocents'", } local langFeedbackArray = { ["on"] = { ["en"] = "enabled", ["de"] = "Aktiviert", ["fr"] = "aktivé", ["es"] = "enabled", ["ru"] = "enabled", ["it"] = "enabled", }, ["off"] = { ["en"] = "disabled", ["de"] = "Deaktiviert", ["fr"] = "désactivé", ["es"] = "disabled", ["ru"] = "disabled", ["it"] = "disabled", }, ["chatOutput"] = { ["en"] = "Prevent attacking innocents: ", ["de"] = "Verhindere Attacken auf Unschuldige: ", ["fr"] = "Prévenir attaques contre innocents: ", ["es"] = "Prevent attacking innocents: ", ["ru"] = "Prevent attacking innocents: ", ["it"] = "Prevent attacking innocents: ", } } -- Binding string ZO_CreateStringId("SI_BINDING_NAME_INNOCENTATTACKTOGGLE", langArray[lang] or langArray["en"]) SafeAddVersion("SI_BINDING_NAME_INNOCENTATTACKTOGGLE", 1) -- Function for binding function InnocentAttackToggle() local setting = GetSetting(SETTING_TYPE_COMBAT, COMBAT_SETTING_PREVENT_ATTACKING_INNOCENTS) if setting == "1" then setting = "0" else setting = "1" end SetSetting(SETTING_TYPE_COMBAT, COMBAT_SETTING_PREVENT_ATTACKING_INNOCENTS, setting, 1) local feedbackOn = langFeedbackArray["on"][lang] or langFeedbackArray["on"]["en"] local feedbackOff = langFeedbackArray["off"][lang] or langFeedbackArray["off"]["en"] local chatOutput = langFeedbackArray["chatOutput"][lang] or langFeedbackArray["chatOutput"]["en"] local str = setting=="1" and "|c00FF00" .. feedbackOn .. "|r" or "|cFF0000" .. feedbackOff .. "|r" d(chatOutput .. str) end
If you do not trust me maybe someone else can download and check the code for you, but I'm trust worthy if it comes to addons (and in general ).
btw: An addon uploaded to ESOUI is not checked in content so if I upload it there it would be the same as uploading it somehwere else. It's only scanned for virus and if it contains any executable, dll or similar files.
Everythign else checked depends on time, will, addon know-how of the checking persons. So do not expect it to be checked by every single line. My info here is is more than ESOUI does on that