Page 1 of 1

LF events for join and leave party

PostPosted: Fri Mar 11, 2016 6:17 pm
by Geigerkind
Hey,
im looking for the events that are fired when the player joins and leaves a party. Either the event that fires if the player actually does that or the chat msg event that outputs those messages.

"You leave the group"

Re: LF events for join and leave party

PostPosted: Fri Mar 11, 2016 6:24 pm
by Renew
i used "PARTY_MEMBERS_CHANGED"

and checked for UnitInRaid and GetNumPartyMembers

Code: Select all
if VHM.Close == 0 and not UnitInRaid("player") and GetNumPartyMembers() > 0 then
   VHM.Raidframe:Show()
elseif not UnitInRaid("player") and GetNumPartyMembers() == 0  then
   VHM.Raidframe:Hide()
end


this is explicit party join/leave - raid is excluded

Re: LF events for join and leave party

PostPosted: Fri Mar 11, 2016 6:26 pm
by Geigerkind
I see, guess Im being stupid again for not noticing it, thanks man!