WoW:API UnitRace: Difference between revisions

no edit summary
No edit summary
 
No edit summary
Line 3: Line 3:
Returns the race (Tauren, Orc, etc) of the specified unit.
Returns the race (Tauren, Orc, etc) of the specified unit.
   
   
  race = UnitRace("unit");
  race, raceEn = UnitRace("unit");
----
----
;''Arguments''
;''Arguments''
Line 14: Line 14:




:;race : The race of the specified unit as a string.  e.g. Tauren, Orc, Guerrier, etc.
:;race : The localized race of the specified unit as a string.  e.g. Tauren, Orc etc.
 
:;raceEn : The race in english as a string. e.g Tauren, Orc etc.


----
----
Anonymous user