Game (functions)/Guest Management

From PMDOWiki

GetPlayerGuestCount

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

GetPlayerGuestTable

Returns the guests as a LuaTable.

GetPlayerGuestMember

Returns the character at the specified index within the player's guests.Argument order is GAME:GetPlayerGuestMember(index).

Arguments

Name Type Technical Type Purpose
index Integer System.Int32 The specified index

AddPlayerGuest

Adds a character to the player's guests. Argument order is GAME:AddPlayerGuest(chara).

Arguments

Name Type Technical Type Purpose
chara Dungeon Character RogueEssence.Dungeon.Character The character to add.

RemovePlayerGuest

Removes the character from the team's guests, placing its item back in the inventory.Argument order is GAME:RemovePlayerGuest(index).

Arguments

Name Type Technical Type Purpose
index Integer System.Int32 The index of the character to remove from the guests.