Difference between revisions of "GetM2DARows"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) m (checked) |
|||
(One intermediate revision by the same user not shown) | |||
Line 20: | Line 20: | ||
Returns the number of rows in the specified 2da. | Returns the number of rows in the specified 2da. | ||
− | + | == Remarks == | |
<!-- This section contains additional comments, observations and known issues. --> | <!-- This section contains additional comments, observations and known issues. --> | ||
+ | Note that nRow is the value in the ID field of the row you wish to access. | ||
<!-- == Examples == --> | <!-- == Examples == --> |
Revision as of 13:58, 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.
Remarks
Note that nRow is the value in the ID field of the row you wish to access.