Difference between revisions of "OpenInventory"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(fix missing parameters, add default for param 3)
(Generated by Sunjammer's Dragon Age Script Paser)
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
{{Generated with errors}}
 
{{dafunction
 
{{dafunction
 
|name=OpenInventory
 
|name=OpenInventory
Line 5: Line 6:
 
|param1name=oObject
 
|param1name=oObject
 
|param1desc=the object to be opened
 
|param1desc=the object to be opened
 +
|param1default=
 
|param2type=object
 
|param2type=object
 
|param2name=oPlayer
 
|param2name=oPlayer
 
|param2desc=the player doing the opening
 
|param2desc=the player doing the opening
 +
|param2default=
 
|param3type=int
 
|param3type=int
 
|param3name=bCanAddItems
 
|param3name=bCanAddItems
|param3desc=whether the player can add items to the object's inventory
+
|param3desc=
 
|param3default=FALSE
 
|param3default=FALSE
 
|returntype=void
 
|returntype=void
Line 20: 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 container, a store or a stash.
+
A player can view their own inventory or that of one of their party, a
 +
container, a store or a stash.
  
 
<!-- == Remarks == -->
 
<!-- == Remarks == -->

Revision as of 23:37, 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
[Undocumented]
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.