Hi Guys,
This is somewhat of a random question but basically at the end of a combustion the addon prints a line of text with the total dmg and the tick count on the left hand site (text) in general chat. "-- Total Combustion : 872863" etc etc I'm trying to make it so that this text goes into another chat window for example my messages chat tab 'ChatFrame3' on the right side of my screen. I've been through ALL of the settings within the addon interface and also stripped down all of the code from within the actually addon itself but I've not been able to identify the line which needs to be changed.
Any one out there have any ideas at all? I know its a long shot. I will post screen shots to example this in more details if required.
Thanks,
ßlinkz - Eu - Terokkar
Combustion Helper
Re: Combustion Helper
Im not that great at LUA but this is what I found.
The "localization.en.lua" is where it specify the messages that are printed to your chat window. E.g.
If I then search for "combureport1" in CombustionHelper.lua I find the following lines in the " Combustion_OnUpdate" function:
As I said, my LUA is not that strong but I read that as printing to the default chat window rather than specifying a chat window to print to. I guess you could try using something like "AddChatWindowMessages" to specify a chat window rather than using the print command. As this is editing the LUA, you will need to do this every time you update the addon.
The "localization.en.lua" is where it specify the messages that are printed to your chat window. E.g.
Code: Select all
["combureport1"] = "|cffff0000 -- Total Combustion : |cffffffff%d |cffff0000- Ticks : |cffffffff%d |cffff0000- Dmg : |cffffffff%d |cffff0000- Targets : |cffffffff%d |cffff0000--|r",
Code: Select all
print(format(CombuLoc["combureport1"],combucombustiondmg,combuticks,combutickdmg,combutargets))
combutimestamp = nil
Re: Combustion Helper
Thanks for the help, I managed to work it out by changing the print function on the report to use ChatFrame3:Addmessage
Thanks
Thanks
Return to “Addons, Macros, UI and technical issues”
Who is online
Users browsing this forum: No registered users and 15 guests