About: Get2DAString   Sponge Permalink

An Entity of Type : owl:Thing, within Data Space : 134.155.108.49:8890 associated with source dataset(s)

function Get2DAString (string s2DA, string sColumn, int nRow) Gets a value from a 2DA file on the server and returns it as a string 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: string * Include file: nwscriptdefn

AttributesValues
rdfs:label
  • Get2DAString
rdfs:comment
  • function Get2DAString (string s2DA, string sColumn, int nRow) Gets a value from a 2DA file on the server and returns it as a string 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: string * Include file: nwscriptdefn
  • The Get2DAString() NWScript command retrieves information from the specified .2da file. The information is retrieved from a single cell (column within a row) as a string, which can then be used directly or converted to a number using either <a href="/mediawiki/StringToInt" title="StringToInt">StringToInt</a>() or <a href="/mediawiki/StringToFloat" title="StringToFloat">StringToFloat</a>(). This is the usual method for incorporating new .2da files into the game.
param3desc
  • The row number from which to retrieve information.
dcterms:subject
dbkwik:nwn2/proper...iPageUsesTemplate
returns
Name
  • Get2DAString
param
  • int nRow
  • string s2DA
  • string sColumn
param2desc
  • The name of the column that will be retrieved.
param1desc
  • The name of the .2da file. It can be at most 16 characters long.
dbkwik:nwn/property/wikiPageUsesTemplate
abstract
  • function Get2DAString (string s2DA, string sColumn, int nRow) Gets a value from a 2DA file on the server and returns it as a string 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: string * Include file: nwscriptdefn
  • The Get2DAString() NWScript command retrieves information from the specified .2da file. The information is retrieved from a single cell (column within a row) as a string, which can then be used directly or converted to a number using either <a href="/mediawiki/StringToInt" title="StringToInt">StringToInt</a>() or <a href="/mediawiki/StringToFloat" title="StringToFloat">StringToFloat</a>(). This is the usual method for incorporating new .2da files into the game.
Alternative Linked Data Views: ODE     Raw Data in: CXML | CSV | RDF ( N-Triples N3/Turtle JSON XML ) | OData ( Atom JSON ) | Microdata ( JSON HTML) | JSON-LD    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 07.20.3217, on Linux (x86_64-pc-linux-gnu), Standard Edition
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2012 OpenLink Software