WoW:API UnitInParty: Difference between revisions

m
Move page script moved page API UnitInParty to WoW:API UnitInParty without leaving a redirect
m (Move page script moved page API UnitInParty to WoW:API UnitInParty without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 10: Line 10:
=== Arguments ===
=== Arguments ===
<!-- List each argument, together with its type -->
<!-- List each argument, together with its type -->
:;arg1 : String - Unit who should be checked
:;arg1 : String - Unit who should be checked such as target, focus, party1, etc.


=== Returns ===
=== Returns ===
Line 35: Line 35:
: '''Bug:''' As of 1.11.2(5464), this function returns nil for UnitInParty("player"), possibly due to the function being defined both as a C and LUA function for reasons unknown.
: '''Bug:''' As of 1.11.2(5464), this function returns nil for UnitInParty("player"), possibly due to the function being defined both as a C and LUA function for reasons unknown.
: Observed in 2.0.3: UnitInParty("player") always returns true. Even when you are not in a party. Assumed reason being: you are always in your own party (of at least one, yourself.)
: Observed in 2.0.3: UnitInParty("player") always returns true. Even when you are not in a party. Assumed reason being: you are always in your own party (of at least one, yourself.)
==See also==
* [[API UnitInRaid]]
Anonymous user