SpellDelay

From NWN Lexicon
Jump to navigationJump to search



SpellDelay(object, int)

Incorporates a delay on applying special FX and damage FX until cone 'reaches' the target.

float SpellDelay(
    object oTarget,
    int nShape
);

Parameters

oTarget

Target of spell.

nShape

No Longer Used


Description

Accumulates basic spell information such as caster level, distance to target, meta-magic feats and SR, then takes distance between target and caster divides by 20 to give delay on effects. Cycles through all other targets in Cone shape.



Remarks

Script: nw_s0_conecold.nss: Line: 19

NOTE: In 1.69 this function is prototyped but does not exist.


Requirements

#include " nw_s0_conecold "

Version

1.29

See Also



 author: Jody Fletcher, editor: Mistress