3 KGPanels related questions, couldn't make them fit in the title
View Single Post
04-25-19, 05:54 PM
A Fallenroot Satyr
Join Date: Mar 2019
Actually I do have a working script but it's only for attackable PVP players. I'm thinking about adding an OnLoad script that checks player faction to show the mentioned texture. The only problem is it FFA players. So, if we can eliminate FFA from the conditions it looks like it could work.
if UnitExists("target") == nil then
if (UnitIsEnemy("player","target") and UnitIsPlayer("target")) then
I'm a super newbie when it comes to this work but I remember seeing "not" operator when there was a condition that needed to be removed.
So for example I was using a Death Knight only frame and it had this condition:
local _, class = UnitClass("player");
if class == "DEATHKNIGHT" then
If I can change the values so that it can check for my faction instead of my class, everything should work. Am I wrong here? Am I making any mistakes? Hope I'm not.
Last edited by bender1453 : 04-25-19 at
View Public Profile
Send a private message to bender1453
Find More Posts by bender1453