I tried many different ways, that have all failed, so wondering if I'm just missing something to make this shorter:
Code:
CART_ActiveProfile[name] = {backdropColor = {r=1,g=1,b=1}}
f:SetBackdropColor(CART_ActiveProfile[name].backdropColor.r, CART_ActiveProfile[name].backdropColor.b, CART_ActiveProfile[name].backdropColor.g)
I've tried:
Code:
CART_ActiveProfile[name] = {backdropColor = {(1,1,1)}
f:SetBackdropColor(CART_ActiveProfile[name].backdropColor)
... but keeps coming back with errors. I've tried several different formats and only one I've been able to get to work correctly is the first example.