Difference between revisions of "GetM2DARows"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) (add parameter 2 default) |
|||
(4 intermediate revisions by 3 users not shown) | |||
Line 5: | Line 5: | ||
|param1name=n2DA | |param1name=n2DA | ||
|param1desc=The 2DA to access | |param1desc=The 2DA to access | ||
+ | |param1default= | ||
|param2type=string | |param2type=string | ||
|param2name=s2DA | |param2name=s2DA | ||
|param2desc=(optional) if n2da is -1 and this is a valid resource, it will retrieve the 2da based on the name instead of the index. Note that this should be avoided when possible. | |param2desc=(optional) if n2da is -1 and this is a valid resource, it will retrieve the 2da based on the name instead of the index. Note that this should be avoided when possible. | ||
− | |param2default = "" | + | |param2default="" |
|returntype=int | |returntype=int | ||
|returndesc=Returns the number of rows in the 2DA, returns 0 on error. | |returndesc=Returns the number of rows in the 2DA, returns 0 on error. |
Latest revision as of 13:59, 3 August 2010
Returns the number of rows in the specified 2da.
- Parameters:
- n2DA
- The 2DA to access
- s2DA
- (optional) if n2da is -1 and this is a valid resource, it will retrieve the 2da based on the name instead of the index. Note that this should be avoided when possible.
- Returns:
- Returns the number of rows in the 2DA, returns 0 on error.
- Source:
- script.ldf
Description
Returns the number of rows in the specified 2da.