Thread: Blizzards SCT
View Single Post
04-24-11, 09:13 AM   #2
Aprikot
A Frostmaul Preserver
 
Aprikot's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2010
Posts: 284
Originally Posted by Game92 View Post
Does anyone know if you can move blizzards SCT?

with a simple :SetPoint?
Not with SetPoint, but you can do it via start/end X/Y coords for COMBAT_TEXT_LOCATIONS:

http://wowprogramming.com/utils/xmlb...CombatText.lua

SuperClassic does it like so (replace the "opts" stuff w/your own):

lua Code:
  1. hooksecurefunc("CombatText_UpdateDisplayedMessages", function ()
  2.     COMBAT_TEXT_LOCATIONS = {
  3.         startX  = opts.StartX,
  4.         startY = opts.StartY * COMBAT_TEXT_Y_SCALE,
  5.         endX = opts.EndX,
  6.         endY = opts.EndY * COMBAT_TEXT_Y_SCALE
  7.     }
  8. end)
  Reply With Quote