Property | Value |
rdfs:label | - ActionCastSpellAtLocation
|
rdfs:comment | - The ActionCastSpellAtLocation() NWScript command causes the caller to cast the indicated spell at the indicated location. In order to cause a different object (creature or placeable) to cast the spell, this command must be assigned via <a href="/mediawiki/AssignCommand" title="AssignCommand">AssignCommand</a>().
- function ActionCastSpellAtLocation (int nSpell, location lTargetLocation, int bCheat=FALSE, int nProjectilePathType=PROJECTILE_PATH_TYPE_DEFAULT, int bInstantSpell=FALSE) Cast spell nSpell at lTargetLocation.
|
param3desc | - A METAMAGIC_* constant indicating which metamagic feat should be applied to this casting.
|
dcterms:subject | |
param5desc | - A PROJECTILE_PATH_TYPE_* constant influencing the spell's projectile visual effect.
|
param6desc | - If set to TRUE, the spell will be cast instantly . This is intended to allow the simulation of a high-level caster who had time to prepare for hostile player characters.
|
param5default | - PROJECTILE_PATH_TYPE_DEFAULT
|
param6default | |
dbkwik:nwn2/property/wikiPageUsesTemplate | |
returns | |
Name | - ActionCastSpellAtLocation
|
param | - int nProjectilePathType
- int nSpell
- int bCheat
- int bInstantSpell
- int nMetaMagic
- location lTargetLocation
|
param2desc | - The location at which the spell will be cast.
|
param1desc | - A SPELL_* constant indicating the spell to cast.
|
param3default | |
dbkwik:nwn/property/wikiPageUsesTemplate | |
param4desc | - If set to TRUE, the caster need not be able to cast this spell normally and a spell slot will not be consumed.
|
param4default | |
abstract | - function ActionCastSpellAtLocation (int nSpell, location lTargetLocation, int bCheat=FALSE, int nProjectilePathType=PROJECTILE_PATH_TYPE_DEFAULT, int bInstantSpell=FALSE) Cast spell nSpell at lTargetLocation.
* nSpell: SPELL_* - lTargetLocation
* bCheat: If this is TRUE, then the executor of the action doesn't have to be able to cast the spell.
* nProjectilePathType: PROJECTILE_PATH_TYPE_*
* bInstantSpell: If this is TRUE, the spell is cast immediately; this allows the end-user to simulate a high-level magic user having lots of advance warning of impending trouble.
* Return type: void
* Include file: nwscriptdefn
- The ActionCastSpellAtLocation() NWScript command causes the caller to cast the indicated spell at the indicated location. In order to cause a different object (creature or placeable) to cast the spell, this command must be assigned via <a href="/mediawiki/AssignCommand" title="AssignCommand">AssignCommand</a>().
|