/script unit gender macro

#0 - Oct. 22, 2006, 9:51 p.m.
Blizzard Post
Did Blizzard change the code to display a target's sex?

I use the following macro to display in raid/party chat whenever I Polymorph a target, and not display if I'm solo.

/script if UnitSex("target")==1 then g="F " else g="M "end;s="Turtle "..g..UnitLevel("target").." %T";a=0;if GetPartyMember(1) then c="party" a=1 if GetNumRaidMembers()>0 then c="raid" end;end;if a>0 then SendChatMessage(s,c) end;
/cast Polymorph: Turtle

Recently, I've been seeing bosses show up as F (female) whenever I try to sheep them for fun to see what sex they are.

However, today on Patchwerk I decided to do it again, and he showed up as female, also. Somehing seemed strange, so I tried the macro on my female party memebers. No mater what targt I had in my raid, whether a male or a female, the macro came up as:

Turtle M 60 Soandso

Patchwerk came up as

Turtle F -1 Patchwerk

Did Blizzard change their coding to aquire a target's sex?

Please help. Thanks.
#2 - Oct. 22, 2006, 9:55 p.m.
Blizzard Post
Aside from your question, I'm not exactly sure how to interpret or react to what you're saying.
#12 - Oct. 22, 2006, 10:06 p.m.
Blizzard Post
I can only recommend asking in the UI & Macro forum, they may have some insight into what may have changed and possibly provide ways around it.

If I can ask a question though; why do you want to know the gender of an opponent before you sheep them? It seems unecessary, and a bit creepy.