Difference between revisions of "OpenInventory"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) m (1 revision: Importing auto-generated function articles) |
BryanDerksen (Talk | contribs) (fix missing parameters, add default for param 3) |
||
Line 1: | Line 1: | ||
− | |||
{{dafunction | {{dafunction | ||
|name=OpenInventory | |name=OpenInventory | ||
Line 11: | Line 10: | ||
|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 20: | ||
== 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 22:50, 30 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.