Quantcast UnitInParty(name) - WoWInterface
Thread Tools Display Modes
Prev Previous Post   Next Post Next
12-20-12, 01:52 PM   #1
A Cobalt Mageweaver
gmarco's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2009
Posts: 232

Hi all,
If I want to check if something is happening to me and to a player (name) that is in party or raid or bg with me, can I use only:

Lua Code:
  1. if destGUID == UnitGUID("player") or UnitInParty(name) then
  3. -- code
  5. end

UnitInParty(name) seems to me true (and so enough) if unit is in party or raid (also in different group).

Or I have to check something else like UnitInRaid(name) ?

Thanks for attention.
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » UnitInParty(name)

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off