Lore archive · Warcraft Wiki, 2023 dump
API UnitIsPartyLeader
Last wiki revision 2020-01-08
use UnitIsGroupLeader instead.
Returns 1 if the unit is party leader, nil otherwise.
isTrue = UnitIsPartyLeader("arg1")
- arg1 : String - Unit who should be checked
- isTrue : 1 or nil
local TargetIsLeader = UnitIsPartyLeader("target")
TargetIsLeader = 1 - If your target is leader of their party TargetIsLeader = nil - If your target is not leader of their party
- Seems to work on players outside of their party.
Source
https://warcraft.wiki.gg/wiki/API_UnitIsPartyLeader · 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.