IsRaidLeader
Jump to navigation
Jump to search
![]() |
This no longer exists on any flavor of the game. |
![]() |
This is no longer a part of the World of Warcraft API.
|
Removed
use UnitIsGroupLeader instead.
isLeader = IsRaidLeader()
Determines if the player is a raid leader himself.
Returns
- isLeader
- 1 if the player is the raid leader, otherwise nil
Example
if (IsRaidLeader()) DEFAULT_CHAT_FRAME:AddMessage ("I am the Raid Leader."); elseif not (IsRaidLeader()) DEFAULT_CHAT_FRAME:AddMessage ("I am not the Raid Leader."); end
Notes
Chances are you came to this function looking for a rank check system for your raid, this function will probably not cut it however GetRaidRosterInfo() can handle this
Patch changes
Patch 5.0.4 (2012-08-28): Removed.