About: ActionAttack   Sponge Permalink

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

function ActionAttack (object oAttackee, int bPassive=FALSE) Attack oAttackee. * bPassive: If this is TRUE, attack is in passive mode. * Return type: void * Include file: nwscriptdefn

AttributesValues
rdfs:label
  • ActionAttack
rdfs:comment
  • function ActionAttack (object oAttackee, int bPassive=FALSE) Attack oAttackee. * bPassive: If this is TRUE, attack is in passive mode. * Return type: void * Include file: nwscriptdefn
  • The ActionAttack() NWScript command causes the caller (who must be a creature) to attack the indicated object with whatever weapon is currently equipped. This command will not automatically cause the target to retaliate, nor will it by itself alter reputation. This command is most appropriate when a simple physical combat is desired; to give the caller more options for hostility (including feats and spells), the AI function <a href="/mediawiki/DetermineCombatRound" title="DetermineCombatRound">DetermineCombatRound</a>() should be used instead.
dcterms:subject
dbkwik:nwn2/proper...iPageUsesTemplate
returns
Name
  • ActionAttack
param
  • int bPassive
  • object oAttackee
param2default
param2desc
  • If this is TRUE, the attack is in passive mode, meaning the caller will not move to attack .
param1desc
  • The object to attack.
dbkwik:nwn/property/wikiPageUsesTemplate
abstract
  • function ActionAttack (object oAttackee, int bPassive=FALSE) Attack oAttackee. * bPassive: If this is TRUE, attack is in passive mode. * Return type: void * Include file: nwscriptdefn
  • The ActionAttack() NWScript command causes the caller (who must be a creature) to attack the indicated object with whatever weapon is currently equipped. This command will not automatically cause the target to retaliate, nor will it by itself alter reputation. This command is most appropriate when a simple physical combat is desired; to give the caller more options for hostility (including feats and spells), the AI function <a href="/mediawiki/DetermineCombatRound" title="DetermineCombatRound">DetermineCombatRound</a>() should be used instead. In order to cause a different creature to make the attack, this command must be assigned via <a href="/mediawiki/AssignCommand" title="AssignCommand">AssignCommand</a>(). Unlike most action commands, ActionAttack() is performed immediately, bypassing the action queue. This can have some unforeseen peculiarities when other actions are added to the queue in the same script. In order to place an attack in the queue, this command must be placed inside <a href="/mediawiki/ActionDoCommand" title="ActionDoCommand">ActionDoCommand</a>().
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