→ WoW API
Returns 1 if the unit is party leader, nil otherwise.
isTrue = UnitIsPartyLeader("arg1")
Parameters[edit | edit source]
Arguments[edit | edit source]
- String - Unit who should be checked
Returns[edit | edit source]
- 1 or nil
Example[edit | edit source]
local TargetIsLeader = UnitIsPartyLeader("target")
Result[edit | edit source]
TargetIsLeader = 1 - If your target is leader of their party TargetIsLeader = nil - If your target is not leader of their party
Details[edit | edit source]
- Seems to work on players outside of their party.
Community content is available under CC-BY-SA unless otherwise noted.