Djinni Wiki
Advertisement

function Get2DAInt (string s2DA, string sColumn, int nRow)

Gets a value from a 2DA file on the server and returns it as an integer avoid using this function in loops

  • s2DA: the name of the 2da file
  • sColumn: the name of the column in the 2da
  • nRow: the row in the 2da * returns an empty string if file, row, or column not found
  • Return type: int
  • Include file: nwscriptdefn
Advertisement