API IsRaidLeader

104,670pages on
this wiki
Add New Page
Talk0 Share
WoW API < IsRaidLeader
 isLeader = IsRaidLeader() 

Determines if the player is a raid leader himself.

Returns Edit

1 if the player is the raid leader, otherwise nil

Example Edit

 if (IsRaidLeader())
     DEFAULT_CHAT_FRAME:AddMessage ("I am the Raid Leader.");
 elseif not (IsRaidLeader())
     DEFAULT_CHAT_FRAME:AddMessage ("I am not the Raid Leader.");

Notes Edit

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

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Also on Fandom

Random Wiki