OpenInventory

From Dragon Age Toolset Wiki
Revision as of 22:50, 30 July 2009 by BryanDerksen (Talk | contribs) (fix missing parameters, add default for param 3)

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.