Difference between revisions of "OpenInventory"
From Dragon Age Toolset Wiki
(Generated by Sunjammer's Dragon Age Script Paser) |
BryanDerksen (Talk | contribs) m (fixed) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
{{dafunction | {{dafunction | ||
|name=OpenInventory | |name=OpenInventory | ||
Line 6: | Line 5: | ||
|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= | + | |param3desc=whether the player can add items to the object's inventory |
+ | |param3default=FALSE | ||
|returntype=void | |returntype=void | ||
|returndesc= | |returndesc= | ||
Line 20: | Line 22: | ||
== 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 == --> |
Latest revision as of 23:31, 31 July 2009
Opens the inventory of an object for a target player.
- 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.