Hello again,
The GW2UI addon has the following variables
Lua Code:
local TRACKER_TYPE_COLOR = {}
GW.TRACKER_TYPE_COLOR = TRACKER_TYPE_COLOR
TRACKER_TYPE_COLOR["QUEST"] = {r = 221 / 255, g = 198 / 255, b = 68 / 255}
TRACKER_TYPE_COLOR["CAMPAIGN"] = {r = 121 / 255, g = 222 / 255, b = 47 / 255}
TRACKER_TYPE_COLOR["EVENT"] = {r = 240 / 255, g = 121 / 255, b = 37 / 255}
TRACKER_TYPE_COLOR["BONUS"] = {r = 240 / 255, g = 121 / 255, b = 37 / 255}
TRACKER_TYPE_COLOR["SCENARIO"] = {r = 171 / 255, g = 37 / 255, b = 240 / 255}
TRACKER_TYPE_COLOR["BOSS"] = {r = 240 / 255, g = 37 / 255, b = 37 / 255}
TRACKER_TYPE_COLOR["ARENA"] = {r = 240 / 255, g = 37 / 255, b = 37 / 255}
TRACKER_TYPE_COLOR["ACHIEVEMENT"] = {r = 37 / 255, g = 240 / 255, b = 172 / 255}
TRACKER_TYPE_COLOR["DAILY"] = {r = 68 / 255, g = 192 / 255, b = 250 / 255}
local TARGET_FRAME_ART = {
["minus"] = "Interface/AddOns/GW2_UI/textures/targetshadow",
["normal"] = "Interface/AddOns/GW2_UI/textures/targetshadow",
["rare"] = "Interface/AddOns/GW2_UI/textures/targetShadowRare",
["rareelite"] = "Interface/AddOns/GW2_UI/textures/targetShadowRare",
["worldboss"] = "Interface/AddOns/GW2_UI/textures/targetshadow_boss",
["boss"] = "Interface/AddOns/GW2_UI/textures/targetshadow_boss",
["prestige1"] = "Interface/AddOns/GW2_UI/textures/targetshadow_p1",
["prestige2"] = "Interface/AddOns/GW2_UI/textures/targetshadow_p2",
["prestige3"] = "Interface/AddOns/GW2_UI/textures/targetshadow_p3",
["prestige4"] = "Interface/AddOns/GW2_UI/textures/targetshadow_p4",
["realboss"] = "Interface/AddOns/GW2_UI/textures/targetshadow-raidboss"
}
GW.TARGET_FRAME_ART = TARGET_FRAME_ART
Is it possible to use my own addon to change those variables without having to edit the GW2_UI code?
If so, what are the steps I should take?
I imagine it's something along the lines of handling the player_login event, and then...? just re-defining the variable?