Thread Tools Display Modes
Prev Previous Post   Next Post Next
07-01-09, 12:26 PM   #1
v6o
An Onyxian Warder
AddOn Author - Click to view addons
Join Date: Mar 2009
Posts: 399
Owner names on pets/vehicles

I'm currently doing this for raid members but not sure how to do it on other units.

Code:
if string.find(unit, "raidpet%d") then
	self.Name:SetText(UnitName(string.gsub(unit, "raidpet", "raid")))
end
__________________
I stopped playing back World of Warcraft in 2010 and I have no plans on returning.
This is a dead account and if you want to continue any of my addons or make a fork then feel free to do so.
This is your permission slip.

If you need to contact me, do so on Twitter @v6ooo

Best regards, v6.

Last edited by v6o : 07-01-09 at 12:31 PM.
  Reply With Quote
 

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » Owner names on pets/vehicles


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