View Single Post
09-18-21, 06:13 AM   #4
rulezyx
A Flamescale Wyrmkin
 
rulezyx's Avatar
Join Date: Jan 2020
Posts: 106
Thank you so much for your code and the good explanation.

Code:
hooksecurefunc(NamePlateDriverFrame,"AcquireUnitFrame",function(base)
    if base:IsForbidden() then return; end--    Prevent modding forbidden frames (accessing these throws errors)
 
    local unitframe=base.UnitFrame;--   Set by original function
    unitframe.ClassificationFrame:ClearAllPoints();
    unitframe.ClassificationFrame:SetPoint("LEFT",unitframe.healthBar,"RIGHT");
    unitframe.RaidTargetFrame:ClearAllPoints();
    unitframe.RaidTargetFrame:SetPoint("LEFT",unitframe.healthBar,"RIGHT", 14, 0);
end);
Did the same thing with the targetmarkers and its working without any issues.
  Reply With Quote