Game (functions)/Assembly Management

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

GAME:GetPlayerAssemblyCount

Gets the number of characters currently in the player's assembly.


Returns

The number of characters

GAME:GetPlayerAssemblyTable

Return the assembly as a LuaTable


Returns

A Lua Table of Characters

GAME:GetPlayerAssemblyMember(System.Int32)

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


Arguments

  • index: The specified index

Returns

The assembly member retrieved.

GAME:AddPlayerAssembly(RogueEssence.Dungeon.Character)

Adds a character to the player's assembly.


Arguments

  • character: The character to add.

GAME:RemovePlayerAssembly(System.Int32)

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


Arguments

  • slot: The slot of the player to remove.