Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API IsRaidLeader

Last wiki revision 2020-01-08

use UnitIsGroupLeader instead.

isLeader = IsRaidLeader

Determines if the player is a raid leader himself.

  • isLeader:1 if the player is the raid leader, otherwise nil

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

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

Source

https://warcraft.wiki.gg/wiki/API_IsRaidLeader · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.