Game (functions)/Assembly Management
From PMDOWiki
GetPlayerAssemblyCount
Returns the number of characters currently in the player's assembly.
GetPlayerAssemblyTable
Returns the assembly as a LuaTable.
GetPlayerAssemblyMember
Returns the character at the specified index within the player's assembly.Argument order is GAME:GetPlayerAssemblyMember(index).
Arguments
| Name | Type | Technical Type | Purpose |
|---|---|---|---|
| index | Integer | System.Int32
|
The specified index |
AddPlayerAssembly
Adds a character to the player's assembly. Argument order is GAME:AddPlayerAssembly(chara).
Arguments
| Name | Type | Technical Type | Purpose |
|---|---|---|---|
| chara | Dungeon Character | RogueEssence.Dungeon.Character
|
The character to add. |
RemovePlayerAssembly
Removes the character from the assembly, placing its item back in the inventory. Argument order is GAME:RemovePlayerAssembly(index).
Arguments
| Name | Type | Technical Type | Purpose |
|---|---|---|---|
| index | Integer | System.Int32
|
The index of the character to remove from the assembly. |
