View Single Post
Old 11-10-2007, 06:04 PM   #250
Soulforged
Rookie
 
Join Date: Oct 2005
Posts: 35
Quote:
Originally Posted by stoffe
The problem is with the line...

2DAMEMORY137=RowLabel

...as this will save the value in the (Row Label) column, while the baseitems.2da file is indexed by line number. So you should use...

2DAMEMORY137=RowIndex

...instead, since this will save the line number your new line gets added as in the token.



Generally there are three key values you can use to identify a particular row in most cases:

RowIndex - the line number of the row
RowLabel - The label of the row, displayed as a (Row Label) column in KotorTool.
LabelIndex - The value in the label column of the row. This obviously only works with 2DA files that have a label column, and is mostly used for editing/copying existing rows where you don't know what the row label or line number is (usually since the target lines were dynamically added by a mod earlier).
Thanks stoffe, though as I said it worked with RowLabel I just had to put the 2DAMEMORY line after the itemtype was created.
Soulforged is offline   you may: quote & reply,