Scr_TableLookupIString( <filename>, <search column num>, <search value>, <return value column num> )


Module: Precache

Summary:

look up a row in a table and pull out a particular column from that row in an Istring



Example:

TableLookupIString( "mp/statstable.csv", 0, "INDEX_KILLS", 1 );



Required Args:

  • 1 : <filename> The table to look up
  • 2 : <search column num> The column number of the stats table to search through
  • 3 : <search value> The value to use when searching the <search column num>
  • 4 : <return value column num> The column number value to return after we find the correct row