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

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
  2.  
  3. -- code
  4.  
  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.
gmarco is offline   Reply With Quote
 

Go BackWoWInterface » 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