Difference between revisions of "OpenInventory"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) m (1 revision: re-import with default parameter value parameters set) |
BryanDerksen (Talk | contribs) m (fixed) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
{{dafunction | {{dafunction | ||
|name=OpenInventory | |name=OpenInventory | ||
Line 13: | Line 12: | ||
|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 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.