Difference between revisions of "OpenInventory"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (1 revision: re-import with default parameter value parameters set)
m
Line 13: Line 13:
 
|param3type=int
 
|param3type=int
 
|param3name=bCanAddItems
 
|param3name=bCanAddItems
|param3desc=
+
|param3desc=whether the player can add items to the object's inventory
 
|param3default=FALSE
 
|param3default=FALSE
 
|returntype=void
 
|returntype=void
Line 23: Line 23:
 
== Description ==
 
== Description ==
 
<!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. -->
 
<!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. -->
A player can view their own inventory or that of one of their party, a
+
A player can view their own inventory or that of one of their party, a container, a store or a stash.
container, a store or a stash.
+
  
 
<!-- == Remarks == -->
 
<!-- == Remarks == -->

Revision as of 23:31, 31 July 2009

This page was generated by Sunjammer's Dragon Age Script Parser.

The parser was unable to extract and/or match all the information required and has flagged this page as containing one or more errors. The source file was not formatted correctly and the information presented is incomplete or incorrect.

This page must be reviewed by a knowledgeable scripter as it will need to be updated. Once identified, the issue in the source file should be reported to BioWare.

Please remove the {{Generated with errors}} tag once the page has been corrected.

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.