Chat settings are server based?
interesting info
i login to the friend's account and looks like my chat settings was taken from the server for example my friend using colors and size of the fonts, not default, and yes the imported to me too also he using RUESO addon, im not and when i login on his character from my PC i see this instead of "Chat" on main tab this supposed to be cyrillic letters if i will install RuESO |
Nice info :) Is there any way to access server-side data?
By the way it might be a noobish question but how do you change the color of text contain in CT_LABEL objects? I want to color some things in the UI :) |
Get the label control by help of
local labelCtrl = WINDOW_MANAGER:GetControlByName("name here", "") if labelCtrl ~= nil then labelCtrl:SetColor(r, g, b, a) end Or just use the name of the label control if you know it already ZOS_GameMenuLabel1:SetColor(r, g, b, a) |
Quote:
Here's my code: Code:
ZO_StatsPanelPaneScrollChildAttributeRow1HealthName:SetColor(191, 33, 40, 255) -- I also tried setting the alpha to 1 since it was unclear if the value was expressed as decimal or integer |
also keybinds too - server based
why ZOS did this? interesting |
because it's a mmorpg.
did you never played to other games ? almost 99% of settings are server sided saved |
Try something simple like :SetColor(1, 0, 0, 1) -- should be red then
Inspect ZO_StatsPanelPaneScrollChildAttributeRow1HealthName with ZGOO addon and see if the SetCoor function exists, and check if the "Name" child of ZO_StatsPanelPaneScrollChildAttributeRow1Health is the correct control to colorize. Maybe it has to be another control, like the parent ZO_StatsPanelPaneScrollChildAttributeRow1Health itsself. I did not check the controls (currently at work) so you need to check for yourself please. Quote:
|
Quote:
Thanks for you help I'll tell you how things turn out :) |
The r,g,b,a values are from 0-1 and its because you spelled it wrong, Attributes has an s on the end of it.
Lua Code:
|
All times are GMT -6. The time now is 09:42 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI