function ActionCastSpellAtObject (int nSpell, object oTarget, int bCheat=FALSE, int nProjectilePathType=PROJECTILE_PATH_TYPE_DEFAULT, int bInstantSpell=FALSE) This action casts a spell at oTarget.
* nSpell: SPELL_*
* oTarget: Target for the spell
* 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
Attributes | Values |
---|
rdfs:label
| |
rdfs:comment
| - function ActionCastSpellAtObject (int nSpell, object oTarget, int bCheat=FALSE, int nProjectilePathType=PROJECTILE_PATH_TYPE_DEFAULT, int bInstantSpell=FALSE) This action casts a spell at oTarget.
* nSpell: SPELL_*
* oTarget: Target for the spell
* 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 ActionCastSpellAtObject() NWScript command causes the caller to cast the indicated spell at the indicated object. 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>().
|
param3desc
| - A METAMAGIC_* constant indicating which metamagic feat should be applied to this casting.
|
dcterms:subject
| |
param7desc
| - 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.
|
param5desc
| |
param6desc
| - A PROJECTILE_PATH_TYPE_* constant influencing the spell's projectile visual effect.
|
param7default
| |
param5default
| |
param6default
| - PROJECTILE_PATH_TYPE_DEFAULT
|
dbkwik:nwn2/proper...iPageUsesTemplate
| |
returns
| |
Name
| |
param
| - object oTarget
- int nProjectilePathType
- int nSpell
- int bCheat
- int bInstantSpell
- int nDomainLevel
- int nMetaMagic
|
param2desc
| - The object 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. In addition, metamagic will be ignored.
|
param4default
| |
abstract
| - function ActionCastSpellAtObject (int nSpell, object oTarget, int bCheat=FALSE, int nProjectilePathType=PROJECTILE_PATH_TYPE_DEFAULT, int bInstantSpell=FALSE) This action casts a spell at oTarget.
* nSpell: SPELL_*
* oTarget: Target for the spell
* 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 ActionCastSpellAtObject() NWScript command causes the caller to cast the indicated spell at the indicated object. 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>().
|