Thanks for the replies
I was sure I tried it, but I guess I made some mistake...
This is the solution (using my first code example as template):
Lua Code:
local pinLayout_QuestsDone = {
maxDistance = savedVariables.pinTextureQuestsDone.maxDistance,
level = savedVariables.pinTextureQuestsDone.level,
texture = pinTextures.Quests[savedVariables.pinTextureQuestsDone.type],
size = savedVariables.pinTextureQuestsDone.size,
tint = ZO_ColorDef:New(unpack(savedVariables.pinTextureQuestsDone.tint)),
additionalLayout = {
function(pin)
pin:GetNamedChild("Background"):SetColor(unpack(savedVariables.pinTextureQuestsDone.tint))
end,
function(pin)
pin:GetNamedChild("Background"):SetColor(1,1,1,1)
end,
},
}
LMP:AddPinType(PINS_QUESTS_DONE, Quests_Done_pinTypeCallback, nil, pinLayout_QuestsDone, pinTooltipCreator)
COMPASS_PINS:AddCustomPin(PINS_QUESTS_DONE, Quests_CompassPins, pinLayout_QuestsDone)
COMPASS_PINS:RefreshPins(PINS_QUESTS_DONE)
Case closed