Game (functions)/Party Management
From PMDOWiki
GetPlayerPartyCount
Returns the player party count. Does not include guests.
GetPlayerPartyTable
Return the party as a LuaTable. Does not include guests.
GetPlayerPartyMember
Gets the character at the specified index within the player's team. Argument order is GAME:GetPlayerPartyMember(index).
Arguments
| Name | Type | Technical Type | Purpose |
|---|---|---|---|
| index | Integer | System.Int32
|
The specified index |
Returns
The team member retrieved.
AddPlayerTeam
Adds a character to the player's team. Argument order is GAME:AddPlayerTeam(chara).
Arguments
| Name | Type | Technical Type | Purpose |
|---|---|---|---|
| chara | Dungeon Character | RogueEssence.Dungeon.Character
|
The character to add. |
RemovePlayerTeam
Removes the character from the team, placing its item back in the inventory.Argument order is GAME:RemovePartyMember(index).
Arguments
| Name | Type | Technical Type | Purpose |
|---|---|---|---|
| index | Integer | System.Int32
|
The index of the character to remove from the team. |
