Game (functions)/Party Management

From PMDOWiki
Revision as of 21:03, 17 January 2026 by Imbion (talk | contribs) (Created page with "== GAME:GetPlayerPartyCount == Returns the player party count. Does not include guests. === Returns === The count of players == GAME:GetPlayerPartyTable == Return the party as a LuaTable. Does not include guests. === Returns === A Lua Table of Characters == GAME:GetPlayerPartyMember(System.Int32) == Gets the character at the specified index within the player's team. === Arguments === * <code>index</code>: The specified index === Returns === The team...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

GAME:GetPlayerPartyCount

Returns the player party count. Does not include guests.


Returns

The count of players

GAME:GetPlayerPartyTable

Return the party as a LuaTable. Does not include guests.


Returns

A Lua Table of Characters

GAME:GetPlayerPartyMember(System.Int32)

Gets the character at the specified index within the player's team.


Arguments

  • index: The specified index

Returns

The team member retrieved.


GAME:AddPlayerTeam(RogueEssence.Dungeon.Character)

Adds a character to the player's team.


Arguments

  • character: The character to add.

GAME:RemovePlayerTeam(System.Int32)

Removes the character from the team, placing its item back in the inventory.


Arguments

  • slot: The slot of the player to remove.