Originally Posted by Aprikot
Looks good--was it off-center before? I briefly tested the last thing I posted and it did seem a little nasty...like not all messages were behaving. What code did you land on for the positioning?
|
Thanks, yes it was, he toke me somtime to figure out anyways here is the code.
Code:
local function UpdateCombatTextPos()
COMBAT_TEXT_LOCATIONS = {
startX = -12, -- ("-200" LEFT) ("200" RIGHT)
startY = 384 * COMBAT_TEXT_Y_SCALE, -- Where it starts (UPP) (384)
endX = -12, -- ("-200" LEFT) ("200" RIGHT)
endY = 159 * COMBAT_TEXT_Y_SCALE -- Where it ends (DOWN) (609)
}
end
hooksecurefunc("CombatText_UpdateDisplayedMessages", UpdateCombatTextPos)