View Single Post
10/10/15, 05:17 PM   #2
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,580
There is an option to disband a group, but I never heard of a group getting destroyed (besides in pvp by other players ).
The case is handled in alerthandlers.lua even though nothing is done, so it seems to be in the game at least.
Maybe it is something a game master can do?

Lua Code:
  1. if reason == GROUP_LEAVE_REASON_DISBAND then
  2.             if isLeader and not isLocalPlayer then
  3.                 if nameToShow ~= "" then
  4.                     message = zo_strformat(SI_GROUP_NOTIFICATION_GROUP_DISBANDED, nameToShow)
  5.                 end
  6.             end
  7.  
  8.             sound = SOUNDS.GROUP_DISBAND
  9.         elseif reason == GROUP_LEAVE_REASON_KICKED then
  10.             if isLocalPlayer then
  11.                 message = SI_GROUP_NOTIFICATION_GROUP_SELF_KICKED
  12.             else
  13.                 if nameToShow ~= "" then
  14.                     message = zo_strformat(GetString("SI_GROUPLEAVEREASON", reason), nameToShow)
  15.                 end
  16.             end
  17.  
  18.             sound = SOUNDS.GROUP_KICK
  19.         elseif reason == GROUP_LEAVE_REASON_VOLUNTARY then
  20.             if not isLocalPlayer then
  21.                 if nameToShow ~= "" then
  22.                     message = zo_strformat(GetString("SI_GROUPLEAVEREASON", reason), nameToShow)
  23.                 end
  24.             end
  25.  
  26.             sound = SOUNDS.GROUP_LEAVE
  27.         elseif reason == GROUP_LEAVE_REASON_DESTROYED then
  28.             --do nothing, we don't want to show additional alerts for this case
  29.         end
  Reply With Quote