About: SetSubRace   Sponge Permalink

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

Note: It is unclear why the GetSubRace() function returns an integer relating to RACIAL_SUBTYPE_*, but the SetSubRace only takes a string.

AttributesValues
rdfs:label
  • SetSubRace
rdfs:comment
  • Note: It is unclear why the GetSubRace() function returns an integer relating to RACIAL_SUBTYPE_*, but the SetSubRace only takes a string.
  • The SetSubRace() NWScript command sets the subrace of an object (which must be a creature) to the specified string. One use of this command is to simulate a racial change for a player character, as the character sheet will report the subrace instead of the race if a subrace is provided. Another use is to normalize the subrace of a player character. (This would allow the player some liberty in how to enter a subrace at character creation — such as being case-insensitive or allowing abbreviations — but still allow most scripts to be more efficient by accepting only a single form of each subrace's name.)
dcterms:subject
dbkwik:nwn2/proper...iPageUsesTemplate
returns
Name
  • SetSubRace
param
  • object oCreature
  • string sSubRace
param2desc
  • The new subrace.
param1desc
  • The creature whose subrace will be set.
dbkwik:nwn/property/wikiPageUsesTemplate
abstract
  • Note: It is unclear why the GetSubRace() function returns an integer relating to RACIAL_SUBTYPE_*, but the SetSubRace only takes a string.
  • The SetSubRace() NWScript command sets the subrace of an object (which must be a creature) to the specified string. One use of this command is to simulate a racial change for a player character, as the character sheet will report the subrace instead of the race if a subrace is provided. Another use is to normalize the subrace of a player character. (This would allow the player some liberty in how to enter a subrace at character creation — such as being case-insensitive or allowing abbreviations — but still allow most scripts to be more efficient by accepting only a single form of each subrace's name.)
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