GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); if (this:GetValue() == 1) then GameTooltip:SetText("Francais"); elseif (this:GetValue() == 2) then GameTooltip:SetText("English"); else GameTooltip:SetText("Deutsch"); end GameTooltip:SetText(this:GetValue()); if (this:GetValue() == 1) then GameTooltip:SetText("Francais"); NecrosisConfig.NecrosisLanguage = "frFR"; Necrosis_Localization_Dialog_Fr(); elseif (this:GetValue() == 2) then GameTooltip:SetText("English"); NecrosisConfig.NecrosisLanguage = "enUS"; Necrosis_Localization_Dialog_En(); else GameTooltip:SetText("Deutsch"); NecrosisConfig.NecrosisLanguage = "deDE"; Necrosis_Localization_Dialog_De(); end Necrosis_LanguageInitialize(); GameTooltip:Hide(); if (this:GetChecked()) then NecrosisConfig.AntiFearAlert = true; else NecrosisConfig.AntiFearAlert = false; end if (this:GetChecked()) then NecrosisConfig.ShadowTranceAlert = true; else NecrosisConfig.ShadowTranceAlert = false; end if (this:GetChecked()) then NecrosisConfig.NecrosisToolTip = true; Necrosis_Msg(NECROSIS_MESSAGE.Interface.TooltipOn, "USER"); else NecrosisConfig.NecrosisToolTip = false; Necrosis_Msg(NECROSIS_MESSAGE.Interface.TooltipOff, "USER"); end Necrosis_UpdateButtonsScale(); if (this:GetChecked()) then NecrosisConfig.Sound = true; else NecrosisConfig.Sound = false; end if (this:GetChecked()) then NecrosisConfig.ChatType = false; else NecrosisConfig.ChatType = true; end Necrosis_Msg(NECROSIS_MESSAGE.Interface.MessagePosition, "USER"); if (this:GetChecked()) then NecrosisConfig.ChatMsg = true; else NecrosisConfig.ChatMsg = false; end if (this:GetChecked()) then NecrosisConfig.DemonSummon = true; else NecrosisConfig.DemonSummon = false; end if (this:GetChecked()) then NecrosisConfig.SteedSummon = true; else NecrosisConfig.SteedSummon = false; end HideUIPanel(NecrosisMessageMenu);