Moonshyne
World of Warcraft® guild on Ravenholdt·EU, and UI Addon creation & development

...powered by Darkmoon Special Reserveâ„¢!
Tue 07 Sep 2010 00:57:51 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: MyRolePlay 3.3.55 (compatible with WoW 3.3.5.12340) released!
Home Help Search Login Register
Pages: 1
Print
Author Topic: Missing MRP Tooltip Hook Request  (Read 256 times)
0 Members and 1 Guest are viewing this topic.
Tenka Digi
Visitor

Offline

Posts: 1


« on: Fri 09 Apr 2010 23:05:09 »

Going through the list of possible values for editing one's MRP Tooltip, I was irked to find no Gender hooks. Any chance of getting that in with the next update? Pretty simple an addition, really.

My LUA's pretty rusty, but I think it'd go something like:
Code:
if (info == MRP_TOOLTIP_GENDER) then
if (UnitSex(target)) then
if (UnitSex(target, "1")) then
return (mrpHexStart .. "Male" .. " " .. mrpHexEnd);
elseif (UnitSex(target, "2")) then
return (mrpHexStart .. "Female" .. " " .. mrpHexEnd);
end
else
return (MRP_TOOLTIP_EMPTY_STRING);
end
return (MRP_TOOLTIP_EMPTY_STRING);
end

Been a few years, hope that's right. I'm sure you guys know what I'm getting at though, hope that saves you some effort. Helps to have that kind of thing visible for dealing with Shapeshifted players (often Druids).
Logged
Elandru Moonshyne
Founder

Offline

Posts: 218



« Reply #1 on: Sat 10 Apr 2010 09:28:43 »

Do you know, I never thought of that. Hm…
Logged

Ravenholdt�EU: Elandru (80 NE Hunter), Dulcamara (80 NE Rogue), and many, many others ...
Pages: 1
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
World of Warcraft® and Blizzard Entertainment® are all trademarks or registered trademarks of Blizzard Entertainment in the United States and/or other countries.
These terms and all related materials, logos, and images are copyright © Blizzard Entertainment. This site is in no way associated with or endorsed by Blizzard Entertainment®.
Valid XHTML 1.0! Valid CSS!