arg1 -> unitId
No edit summary |
(arg1 -> unitId) |
||
| Line 5: | Line 5: | ||
<!-- List return values and arguments as well as function name, follow Blizzard usage convention for args --> | <!-- List return values and arguments as well as function name, follow Blizzard usage convention for args --> | ||
isTrue = UnitPlayerOrPetInParty(" | isTrue = UnitPlayerOrPetInParty("unit") | ||
== Parameters == | == Parameters == | ||
=== Arguments === | === Arguments === | ||
<!-- List each argument, together with its type --> | <!-- List each argument, together with its type --> | ||
:; | :;"unit" : String - [[unitId]] who should be checked | ||
=== Returns === | === Returns === | ||
| Line 22: | Line 22: | ||
====Result==== | ====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. --> | <!-- 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. --> | ||
TargetInParty = 1 - If your target is in your | TargetInParty = 1 - If your target is in your party | ||
TargetInParty = nil - If your target is not in | TargetInParty = nil - If your target is not in party | ||