-
Posted by chrisandelin on Fri, 12 Mar 2010 04:04:35
This is my first time making an addon so please be gentle with my noobness.
I'd like to make an addon that just colors the health bars in your party frames according to their class.
First step is trying to detect when you are in a party. I'm trying to use
PARTY_MEMBERS_CHANGED
however I can't get anything to happen on that event. Here is my entire lua file:function Frame1_OnLoad() this:RegisterEvent("PARTY_MEMBERS_CHANGED"); end function Frame1_OnEvent() if (event = "PARTY_MEMBERS_CHANGED") then FontString1:SetText("Hello " .. UnitName("party1") .. "!"); end end
-
Posted by chrisandelin on Fri, 12 Mar 2010 04:13:31
I am the ultimate noob. I did = in stead of ==
Well if you have anymore suggestions please feel free to reply.