About: GetHasFeat   Sponge Permalink

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

Notes: The nIgnoreUses parameter has been added

AttributesValues
rdfs:label
  • GetHasFeat
rdfs:comment
  • Notes: The nIgnoreUses parameter has been added
  • function GetHasFeat (int nFeat, object oCreature=OBJECT_SELF) Determine whether oCreature has nFeat, and nFeat is useable. * nFeat: FEAT_* - oCreature * Return type: int * Include file: nwscriptdefn
  • The GetHasFeat() NWScript command determines whether or not a creature (object) can use a particular feat (or simply has the feat, if the feat is not actively used). For feats with successors (such as the various bard song feats), having a successor feat counts as having the feat. So, for example, one can simply test for the first bard song feat (FEAT_BARD_SONGS), and the game will handle checking the remaining uses of whichever bard song feat the creature actually uses (the one from the highest bard level).
dcterms:subject
dbkwik:nwn2/proper...iPageUsesTemplate
returns
Name
  • GetHasFeat
param
  • object oCreature
  • int nFeat
param2default
param2desc
  • The creature whose feats will be checked.
param1desc
  • The feat to check, as a FEAT_* constant.
dbkwik:nwn/property/wikiPageUsesTemplate
abstract
  • Notes: The nIgnoreUses parameter has been added
  • function GetHasFeat (int nFeat, object oCreature=OBJECT_SELF) Determine whether oCreature has nFeat, and nFeat is useable. * nFeat: FEAT_* - oCreature * Return type: int * Include file: nwscriptdefn
  • The GetHasFeat() NWScript command determines whether or not a creature (object) can use a particular feat (or simply has the feat, if the feat is not actively used). For feats with successors (such as the various bard song feats), having a successor feat counts as having the feat. So, for example, one can simply test for the first bard song feat (FEAT_BARD_SONGS), and the game will handle checking the remaining uses of whichever bard song feat the creature actually uses (the one from the highest bard level).
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