Open main menu
Home
Random
Log in
Settings
About AddOn Studio
Disclaimers
AddOn Studio
Search
Editing
WoW:API UnitIsPartyLeader
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{wowapi}} __NOTOC__ <!-- Describe the purpose of the function, exhausting detail can be saved for a later section --> Returns 1 if the unit is party leader, nil otherwise. <!-- List return values and arguments as well as function name, follow Blizzard usage convention for args --> isTrue = UnitIsPartyLeader("arg1") == Parameters == === Arguments === <!-- List each argument, together with its type --> :;arg1 : String - Unit who should be checked === Returns === <!-- List each return value, together with its type --> :;isTrue : 1 or nil == Example == <!-- If it helps, include an example here, though it's not required if the usage is self-explanatory --> local TargetIsLeader = UnitIsPartyLeader("target") ====Result==== <!-- If it helps, include example results here, though they are not required. You're allowed to cheat liberally since WoW isn't a command line language. --> TargetIsLeader = 1 - If your target is leader of their party TargetIsLeader = nil - If your target is not leader of their party ==Details== <!-- Details not appropriate for the main description can go here. REMOVE the section if you're just going to restate the intro line! --> : Seems to work on players outside of their party.
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Apinav
(
edit
)
Template:Editlink
(
edit
)
Template:Tocright
(
edit
)
Template:Wowapi
(
edit
)