Quantcast
WoWInterface - View Single Post - TargetFrameAura manipulation
View Single Post
07-24-20, 11:27 AM   #8
glupikreten
An Aku'mai Servant
Join Date: Apr 2009
Posts: 37
https://ibb.co/nsT6sB3

https://ibb.co/0yZ7QHp


And i get im noob... wow lua is not my area... still this eludes me:


Code:
local function test(init)  -- init no init its the same
	if init then
		print("target show")
		TargetFrameHealthBarText:ClearAllPoints()
		TargetFrameHealthBarText:SetPoint("CENTER", TargetFrame, "CENTER", -50, 7)
		TargetFrameManaBarText:SetScale(0.8)
	end
end

TargetFrame:SetScript("OnShow", test)
TargetFrame:SetScript("OnLoad", test)
TargetFrame:SetScript("WHATEVER", test)
test(true)
aint working.. echo works fine tho.

update: i found something called TargetFrame_CheckClassification... now it works...

Last edited by glupikreten : 07-24-20 at 12:08 PM.
  Reply With Quote