About: GetIsSkillSuccessful   Sponge Permalink

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

The GetIsSkillSuccessful() NWScript command performs a skill check, providing feedback to the player and returning success or failure to the calling script. That is, given an object (which should be a creature), a skill, and a difficulty class (as an integer), this command rolls a d20, adds the creature's skill level, and returns a true value if the result is at least the difficulty.

AttributesValues
rdfs:label
  • GetIsSkillSuccessful
rdfs:comment
  • The GetIsSkillSuccessful() NWScript command performs a skill check, providing feedback to the player and returning success or failure to the calling script. That is, given an object (which should be a creature), a skill, and a difficulty class (as an integer), this command rolls a d20, adds the creature's skill level, and returns a true value if the result is at least the difficulty.
param3desc
  • The difficulty class of the skill check.
dcterms:subject
dbkwik:nwn2/proper...iPageUsesTemplate
returns
Name
  • GetIsSkillSuccessful
param
  • object oTarget
  • int nSkill
  • int nDifficulty
param2desc
  • The skill being used, as a SKILL_* constant.
param1desc
  • The creature using the skill
dbkwik:nwn/property/wikiPageUsesTemplate
abstract
  • The GetIsSkillSuccessful() NWScript command performs a skill check, providing feedback to the player and returning success or failure to the calling script. That is, given an object (which should be a creature), a skill, and a difficulty class (as an integer), this command rolls a d20, adds the creature's skill level, and returns a true value if the result is at least the difficulty. This command does not check whether or not the skill can be used; it allows untrained skill checks even for skills that require training or that are restricted to certain classes (in these cases the skill level is ignored leaving the skill roll at 1d20 + 0). If a skill is restricted, <a href="/mediawiki/GetHasSkill" title="GetHasSkill">GetHasSkill</a>() should be used to determine if a skill check is allowed (before calling this command to perform the check).
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