Difference between revisions of "GetM2DAResource"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) m (1 revision: re-import with default parameter value parameters set) |
BryanDerksen (Talk | contribs) m (checked) |
||
Line 1: | Line 1: | ||
− | |||
{{dafunction | {{dafunction | ||
|name=GetM2DAResource | |name=GetM2DAResource |
Revision as of 23:16, 31 July 2009
Returns a resource from a 2DA.
- 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 a resrouce specified by the parameters.
- Source:
- script.ldf
Description
Returns a 2DA resource on the specified Row and Column values.