WoW:API UnitFactionGroup

From AddOn Studio
Revision as of 18:39, 22 July 2005 by WoWWiki>Vimrasha
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

UnitFactionGroup("player") returns the faction of the currently logged in character (Horde or Alliance). UnitFactionGroup("player") returns nil before PLAYER_ENTERING_WORLD and after/during PLAYER_LEAVING_WORLD event. UnitFactionGroup("target") returns the faction group the current target or nil if there is no current target.