OpenInventory

From Dragon Age Toolset Wiki
Jump to: navigation, search

Opens the inventory of an object for a target player.

void OpenInventory(
object oObject,
object oPlayer,
int bCanAddItems = FALSE
);
Parameters:
oObject
the object to be opened
oPlayer
the player doing the opening
bCanAddItems
whether the player can add items to the object's inventory
Returns:

Nothing.

Source:

script.ldf

Description

A player can view their own inventory or that of one of their party, a container, a store or a stash.