ActionCastSpellAtObject

ActionCastFakeSpellAtObject(int, object, int) Display casting animation and spell visuals without subsequent spell effects.

void ActionCastFakeSpellAtObject(   int nSpell,    object oTarget,    int nProjectilePathType = PROJECTILE_PATH_TYPE_DEFAULT );

Parameters
int nSpell
 * SPELL *

object oTarget
 * The target of the spell

int nProjectilePathType
 * PROJECTILE PATH TYPE * (Default: PROJECTILE_PATH_TYPE_DEFAULT)

Description
The recipient of this action will play the casting animation. The target will receive the feedback message [caster] casting [nSpell]; [caster] casts [nSpell]. All animations will be played. But there will be no actual game effects.

Remarks
An actor running this command in combat will provoke attacks of opportunity.

SPECULATION: Actor will also have to make concentration checks.

Known Bugs
For some reason stacking this Action doesn't seem to produce a predictable string of castings. The creature will cast the first FakeSpell and when reaching the next FakeSpell in its Action Queue will halt all following queued Actions.

Version
1.61

Based on original article NWN Lexicon by author Ryan Hunt