OpenInventory

From Dragon Age Toolset Wiki
Revision as of 23:31, 31 July 2009 by BryanDerksen (Talk | contribs) (fixed)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.