OnPartyDisband
The party is over.
Fires last, after every member’s OnPlayerLeaveParty. reason is "empty" (the party fell to one member), "mode"
(DisbandParty) or "leader" (the leader left and [party] leader_leaves is "disband"). A reload of the mode
drops every party without this callback.
Syntax
Section titled “Syntax”function OnPartyDisband(party, reason) -- ...end| Parameter | Type | |
|---|---|---|
party |
number | the party that ended |
reason |
string | "empty", "mode" or "leader" |
Returns
Section titled “Returns”nothing
Example
Section titled “Example”function OnPartyDisband(party, reason) Log("party " .. party .. " over: " .. reason)endSee also
Section titled “See also”DisbandParty · OnPlayerLeaveParty · the Parties group of the index
