Game (functions)/Guest Management

From PMDOWiki
Revision as of 21:03, 17 January 2026 by Imbion (talk | contribs) (Created page with "== GAME:GetPlayerGuestCount == Gets the number of guests currently in the player's party. === Returns === The number of guests == GAME:GetPlayerGuestTable == Return the guests as a LuaTable === Returns === A Lua Table of Characters == GAME:GetPlayerGuestMember(System.Int32) == Gets the character at the specified index within the player's guests. === Arguments === * <code>index</code>: The specified index === Returns === The team member retrieved == GA...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

GAME:GetPlayerGuestCount

Gets the number of guests currently in the player's party.


Returns

The number of guests

GAME:GetPlayerGuestTable

Return the guests as a LuaTable


Returns

A Lua Table of Characters

GAME:GetPlayerGuestMember(System.Int32)

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


Arguments

  • index: The specified index

Returns

The team member retrieved

GAME:AddPlayerGuest(RogueEssence.Dungeon.Character)

Adds a character to the player's guests.


Arguments

  • character: The character to add.

GAME:RemovePlayerGuest(System.Int32)

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


Arguments

  • slot: The slot of the player to remove.