About: GetObjectByTag   Sponge Permalink

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

The GetObjectByTag() NWScript command finds an object with the the indicated tag (specified as a string). It returns OBJECT_INVALID if no object was found. A common use for this command is to find an object with a unique tag (i.e. the object with the indicated tag), but it also handles multiple objects with the same tag. This command cannot be use to find the module object; use GetModule() instead. (All other types of objects can be found.)

AttributesValues
rdfs:label
  • GetObjectByTag
rdfs:comment
  • The GetObjectByTag() NWScript command finds an object with the the indicated tag (specified as a string). It returns OBJECT_INVALID if no object was found. A common use for this command is to find an object with a unique tag (i.e. the object with the indicated tag), but it also handles multiple objects with the same tag. This command cannot be use to find the module object; use <a href="/mediawiki/GetModule" title="GetModule">GetModule</a>() instead. (All other types of objects can be found.)
  • function GetObjectByTag (string sTag, int nNth=0) Get the nNth object with the specified tag. * sTag: * nNth: the nth object with this tag may be requested * Returns OBJECT_INVALID if the object cannot be found. * Note: The module cannot be retrieved by GetObjectByTag (), use GetModule () instead. * Return type: object * Include file: nwscriptdefn
dcterms:subject
dbkwik:nwn2/proper...iPageUsesTemplate
returns
Name
  • GetObjectByTag
param
  • int nNth
  • string sTag
param2default
  • 0(xsd:integer)
param2desc
  • Used when there are multiple objects with the same tag. Increasing this parameter causes a different object to be found.
param1desc
  • The tag of the object to locate.
dbkwik:nwn/property/wikiPageUsesTemplate
abstract
  • The GetObjectByTag() NWScript command finds an object with the the indicated tag (specified as a string). It returns OBJECT_INVALID if no object was found. A common use for this command is to find an object with a unique tag (i.e. the object with the indicated tag), but it also handles multiple objects with the same tag. This command cannot be use to find the module object; use <a href="/mediawiki/GetModule" title="GetModule">GetModule</a>() instead. (All other types of objects can be found.)
  • function GetObjectByTag (string sTag, int nNth=0) Get the nNth object with the specified tag. * sTag: * nNth: the nth object with this tag may be requested * Returns OBJECT_INVALID if the object cannot be found. * Note: The module cannot be retrieved by GetObjectByTag (), use GetModule () instead. * Return type: object * Include file: nwscriptdefn
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