Originally Posted by Soulforged
trying to assing a new value thourgh a memory token for an item's BaseItem field. What I want is to copy an existent line on baseitems.2da and modify somethings inside it and I want the memory token to save the new line by its number in the index. Then an item will get modified and use that token as the value for it's BaseItem field.
The problem is with the line...
...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...
...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:
- the line number of the row
- The label of the row, displayed as a (Row Label) column in KotorTool.
- 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).