2DA

Working with 2DAs.


GET_2DA_INDEX

patch

Returns associative arrays containing current 2DA row and column names, for usage in SET_2DA_ENTRY_LATER:

COPY_EXISTING ~clsrcreq.2da~ override
  LPF GET_2DA_INDEX RET_ARRAY row_index col_index END
  SET_2DA_ENTRY_LATER new_rows $row_index(CLERIC_MAGE) $col_index(ELF) 1
Return values Description Type
col_index column name => index map
row_index row name => index map