Thread: artifact xp bar
View Single Post
09-02-16, 06:32 AM   #19
Uitat
A Chromatic Dragonspawn
 
Uitat's Avatar
AddOn Author - Click to view addons
Join Date: May 2011
Posts: 162
Originally Posted by Seerah View Post
You are creating derArtifactBar multiple times. Once at load and again whenever any of those 3 events fire. Same goes with the fontstring - a new fontstring is being created every time an event fires.
seerah i hate to ask this, but can you help me here turn this into a function that does waht my xp bar does(NOT OVERLAP TEXT). maybe walk me through turning it into a proper function, that works having arguments such as if not in petbattle then show it, if artifact equipped then show it, then finally run said functions on events that are prescribed?

sorry sending from my S7 Android
__________________
  Reply With Quote