WoW:API UnitSex: Difference between revisions

257 bytes added ,  8 December 2007
m
(Use 1.11 codes (1=n, 2=m, 3=f). Reformat.)
Line 31: Line 31:


* Prior to v1.11, the codes were 0=male, 1=female, 2=unknown.
* Prior to v1.11, the codes were 0=male, 1=female, 2=unknown.
== Notes ==
* If "unit" doesn't exist (e.g. UnitSex("target") when you have no target), UnitSex() will return 2. (As seen on [[Talk:World of Warcraft API#API_UnitSex.28.22target.22.29_:_What_if_there_is_no_selected_target_.3F|Talk:World of Warcraft API]])
Anonymous user