Difference between revisions of "GetMaxInventorySize"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (1 revision: re-import with default parameter value parameters set)
(fill in missing parameter)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Generated with errors}}
 
 
{{dafunction
 
{{dafunction
 
|name=GetMaxInventorySize
 
|name=GetMaxInventorySize
Line 8: Line 7:
 
|param1default=OBJECT_INVALID
 
|param1default=OBJECT_INVALID
 
|returntype=int
 
|returntype=int
|returndesc=
+
|returndesc=the max size of the party's inventory
 
|sourcefile=script.ldf
 
|sourcefile=script.ldf
 
|sourcemodule=
 
|sourcemodule=

Latest revision as of 22:10, 2 March 2010

Gets the max size of the party's inventory (ie. number of slots)

int GetMaxInventorySize(
object oCreature = OBJECT_INVALID
);
Parameters:
oCreature
The creature ID (defaults to player)
Returns:

the max size of the party's inventory

Source:

script.ldf

Description

Gets the max size of the creature's inventory (ie. number of slots)