Difference between revisions of "OpenInventory"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (fixed)
m (fixed)
 
(No difference)

Latest revision as of 23:31, 31 July 2009

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.