Changing channel colors with lua?
Just a short question: Is it possible to change the color of a channel with a plugin? I'm asking because in the german/french client the colors of the chat will be saved in the layout file (/ui layout save), but they won't load (/ui layout load). So my idea is a small plugin where you can save your current settings and transfer them to your other toons (by loading / running the plugin with your alternate toons). Is this possible?
|
short answer: No
longer answer: We can force text that the plugin sends to be displayed in specific colors overriding the recipient's channels but we can not override the current user's chat window settings. That is, if the plugin has a quickslot that contains data of type Alias then the text will be sent when the user clicks and that text can contain color formatting. What you want to do is set the color of incomming chat messages and is not possible via Lua. |
Ok, thx for the quick answer.
|
You're welcome. I just wish I didn't have to answer 'no' to so many good ideas :( Unfortunately, it appears as though there have been no updates to Lua with Helms Deep, not even bug fixes, so I'm not sure the devs that were donating their time for Lua development are even still working for Turbine (some of the skin developers still exist but that is a whole different critter).
EDIT: There are Lua changes, just nothing new, improved or fixed. The only changes were the removal of features that related to certain skills and stances. |
Quote:
|
Quote:
Don't get me wrong, I'm glad that there's more up-to-date documentation for those that need it (Lua actually allows us to examine the API so the docs aren't all that critical) but that doesn't qualify as an update to the actual API. I am curious whether Snowlight is one of the Turbine Devs or a member of the Turbine Community Support Team. It would be nice to know that there are still devs contributing their time and that an actual update to the API is still expected. |
This article about the instance finder: http://www.lotrolife.com/news_full/l...nder-faq/2460/ seems to indicate that "snowlight" is in the 'engineering' team.
|
|
This snippet of code should work to write a message to the chat in a specified color:
Code:
function WriteTextColor(color, text) |
Quote:
|
All times are GMT -5. The time now is 09:03 PM. |
vBulletin® - Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI