Quantcast WoWInterface - View Single Post - UnitInParty(name)
View Single Post
12-20-12, 01:52 PM   #1
A Chromatic Dragonspawn
gmarco's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2009
Posts: 180

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