PDA

View Full Version : Req: Hide DASS dps meter on request


daimon
12-06-2011, 07:04 PM
Seems that the author of DASS dps meter plugin (http://www.lotrointerface.com/downloads/info616-DASS-RealtimeCombatmeterdpsmeter.html) hasn't been online for a while.

Anyone of you Lua wizards that could make a simple fix to it and add a feature to it so it would get hidden when you're taking a screenshot or so.

Appreciated. Thanks you :)

MrJackdaw
12-28-2011, 05:04 PM
Daimon! Has anyone done this for you yet? I had a go - seems to work.

Add this to the end of Main.Lua

prog.ppWin:SetWantsKeyEvents(true)

prog.ppWin.KeyDown = function( sender, args )
if args.Action == 0x100000B3 then
prog.ppWin:SetVisible(not(prog.ppWin:IsVisible()))
end
end

Call it a late Christmas present *grin*

daimon
12-29-2011, 09:56 AM
Cheers JD! And Happy New year to you

Any chance you could upload this as an patch for the plugin ?