Thread Tools Display Modes
Prev Previous Post   Next Post Next
06-08-09, 02:49 AM   #1
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,740
Pet combopoints (vehicle)

Does anyone have a working combopoint-display for the vehicle-dragons which he is willing to share?

Currently I am using this to display the number of combopoints for player.
Code:
  local function d3o2_createComboPoints(self,unit)
    self.CPoints = SetFontString(self.Health, d3font, 24, "THINOUTLINE")
    self.CPoints:SetPoint("LEFT", self.Name, "RIGHT", 5, -1)
    self.CPoints:SetTextColor(1, .5, 0)
    self.CPoints.unit = "player"
  end
Vehicle swap is active. I am calling this function where I am creating my target style.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)

Last edited by zork : 06-08-09 at 02:52 AM.
  Reply With Quote
 

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » Pet combopoints (vehicle)


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off