Difference between revisions of "GetM2DAInt"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) m (1 revision: Importing auto-generated function articles) |
BryanDerksen (Talk | contribs) (add parameter 4 default) |
||
Line 1: | Line 1: | ||
− | |||
{{dafunction | {{dafunction | ||
|name=GetM2DAInt | |name=GetM2DAInt | ||
Line 14: | Line 13: | ||
|param4type=string | |param4type=string | ||
|param4name=s2da | |param4name=s2da | ||
− | |param4desc=(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. | + | |param4desc=(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. |
+ | |param4default = "" | ||
|returntype=int | |returntype=int | ||
|returndesc=Returns the int specified by the parameters. Returns 0. | |returndesc=Returns the int specified by the parameters. Returns 0. |
Revision as of 22:41, 30 July 2009
Returns a 2DA value in integer format.
- Parameters:
- n2DA
- The 2DA to access
- sColumn
- The name of the column to access
- nRow
- The 0 based index of the row 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 int specified by the parameters. Returns 0.
- Source:
- script.ldf
Description
Returns a 2DA integer based on the specified Row and Column values.